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 3fbeb19..b354a33 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"
-  mode 0o640
+  mode 0o644
+  variables :passwords => passwords
 end
 
 apache_site "donate.openstreetmap.org" do