X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/da9a7a4c59377d9c45e028d0fecf6296889011e6..2fa4b09c609ade8b4c3c2782c22608b8db464784:/cookbooks/donate/recipes/default.rb diff --git a/cookbooks/donate/recipes/default.rb b/cookbooks/donate/recipes/default.rb index bf1d46419..b354a335a 100644 --- a/cookbooks/donate/recipes/default.rb +++ b/cookbooks/donate/recipes/default.rb @@ -78,7 +78,8 @@ template "/srv/donate.openstreetmap.org/scripts/db-connect.inc.php" do source "db-connect.inc.php.erb" owner "root" group "donate" - mode 0o640 + mode 0o644 + variables :passwords => passwords end apache_site "donate.openstreetmap.org" do @@ -90,7 +91,7 @@ template "/etc/cron.d/osmf-donate" do owner "root" group "root" mode 0o600 - variables :database_password => database_password + variables :passwords => passwords end template "/etc/cron.daily/osmf-donate-backup" do @@ -98,5 +99,5 @@ template "/etc/cron.daily/osmf-donate-backup" do owner "root" group "root" mode 0o750 - variables :database_password => database_password + variables :passwords => passwords end