X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/b48d93e7fb488da12eaac4b747d0cb9b41a72328..7f6415938eb888893b49cc968a5c01082743b7d7:/cookbooks/planet/recipes/replication.rb diff --git a/cookbooks/planet/recipes/replication.rb b/cookbooks/planet/recipes/replication.rb index 28ca79a33..6e3b6bc1e 100644 --- a/cookbooks/planet/recipes/replication.rb +++ b/cookbooks/planet/recipes/replication.rb @@ -21,6 +21,8 @@ include_recipe "osmosis" db_passwords = data_bag_item("db", "passwords") +package "postgresql-client" + package "ruby" package "rubygems" package "ruby-libxml" @@ -96,9 +98,9 @@ end template "/etc/replication/users-agreed.conf" do source "users-agreed.conf.erb" - user "root" + user "planet" group "planet" - mode 0640 + mode 0600 variables :password => db_passwords["planetdiff"] end