Skip to content

Commit 09a0f36

Browse files
author
Darrin Eden
committed
Merge branch 'master' of https://github.com/koodough/postgresql into koodough-master
2 parents 18aeff4 + dee28bd commit 09a0f36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes/server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
bash "assign-postgres-password" do
8787
user 'postgres'
8888
code <<-EOH
89-
echo "ALTER ROLE postgres ENCRYPTED PASSWORD '#{node['postgresql']['password']['postgres']}';" | psql
89+
echo "ALTER ROLE postgres ENCRYPTED PASSWORD '#{node['postgresql']['password']['postgres']}';" | psql -p #{node['postgresql']['config']['port']}
9090
EOH
9191
action :run
9292
end

0 commit comments

Comments
 (0)