Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Document problems with postgres "encrypted password" attribute.

  • Loading branch information...
commit 24476387e0f4102659be7af3207e51fca66ff547 1 parent 7ee5a77
@davidc-donorschoose davidc-donorschoose authored jtimberman committed
Showing with 6 additions and 0 deletions.
  1. +6 −0 recipes/server.rb
View
6 recipes/server.rb
@@ -38,6 +38,12 @@
].join(' '))
end
else
+ # TODO: The "secure_password" is randomly generated plain text, so it
+ # should be converted to a PostgreSQL specific "encrypted password" if
+ # it should actually install a password (as opposed to disable password
+ # login for user 'postgres'). However, a random password wouldn't be
+ # useful if it weren't saved as clear text in Chef Server for later
+ # retrieval.
node.set_unless['postgresql']['password']['postgres'] = secure_password
node.save
end
Please sign in to comment.
Something went wrong with that request. Please try again.