We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 18aeff4 + dee28bd commit 09a0f36Copy full SHA for 09a0f36
recipes/server.rb
@@ -86,7 +86,7 @@
86
bash "assign-postgres-password" do
87
user 'postgres'
88
code <<-EOH
89
-echo "ALTER ROLE postgres ENCRYPTED PASSWORD '#{node['postgresql']['password']['postgres']}';" | psql
+echo "ALTER ROLE postgres ENCRYPTED PASSWORD '#{node['postgresql']['password']['postgres']}';" | psql -p #{node['postgresql']['config']['port']}
90
EOH
91
action :run
92
end
0 commit comments