Advertisement
Guest User

Untitled

a guest
Apr 20th, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.23 KB | None | 0 0
  1. users = data_bag("psql_users")
  2. users.each do |name|
  3.   psql_user = data_bag_item("psql_users", name)
  4.   postgresql_user name do
  5.     in_version '9.3'
  6.     in_cluster 'main'
  7.     unencrypted_password: psql_user['password']
  8.   end
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement