]> git.openstreetmap.org Git - chef.git/commitdiff
donate: fix db inc perms + var inc
authorGrant Slater <git@firefishy.com>
Thu, 22 Sep 2016 00:33:40 +0000 (01:33 +0100)
committerGrant Slater <git@firefishy.com>
Thu, 22 Sep 2016 00:33:40 +0000 (01:33 +0100)
cookbooks/donate/recipes/default.rb

index 3fbeb19d5b92f87a2356cc1e98bbb1e076c2cc8e..b354a335aa5bf578ba72b6cdc50729a7ec2a24af 100644 (file)
@@ -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"
   source "db-connect.inc.php.erb"
   owner "root"
   group "donate"
-  mode 0o640
+  mode 0o644
+  variables :passwords => passwords
 end
 
 apache_site "donate.openstreetmap.org" do
 end
 
 apache_site "donate.openstreetmap.org" do