X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/59daf18915ef13f46b1e7246e54edf2d78172342..66e3060c83b235c3942eab6cb162a6888bad8757:/cookbooks/stateofthemap/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/stateofthemap/recipes/default.rb b/cookbooks/stateofthemap/recipes/default.rb index 05239f2e3..d0bdee0d5 100644 --- a/cookbooks/stateofthemap/recipes/default.rb +++ b/cookbooks/stateofthemap/recipes/default.rb @@ -45,7 +45,7 @@ end directory "/srv/2007.stateofthemap.org" do owner "wordpress" group "wordpress" - mode 0o755 + mode "755" end wordpress_site "2007.stateofthemap.org" do @@ -72,7 +72,7 @@ end directory "/srv/2008.stateofthemap.org" do owner "wordpress" group "wordpress" - mode 0o755 + mode "755" end wordpress_site "2008.stateofthemap.org" do @@ -99,7 +99,7 @@ end directory "/srv/2009.stateofthemap.org" do owner "wordpress" group "wordpress" - mode 0o755 + mode "755" end git "/srv/2009.stateofthemap.org" do @@ -137,7 +137,7 @@ end directory "/srv/2010.stateofthemap.org" do owner "wordpress" group "wordpress" - mode 0o755 + mode "755" end git "/srv/2010.stateofthemap.org" do @@ -180,7 +180,7 @@ end directory "/srv/2011.stateofthemap.org" do owner "wordpress" group "wordpress" - mode 0o755 + mode "755" end git "/srv/2011.stateofthemap.org" do @@ -223,7 +223,7 @@ end directory "/srv/2012.stateofthemap.org" do owner "wordpress" group "wordpress" - mode 0o755 + mode "755" end git "/srv/2012.stateofthemap.org" do @@ -323,7 +323,7 @@ end end directory "/srv/#{year}.stateofthemap.org/_site" do - mode 0o755 + mode "755" owner "nobody" group "nogroup" end @@ -331,7 +331,7 @@ end # Workaround https://github.com/jekyll/jekyll/issues/7804 # by creating a .jekyll-cache folder directory "/srv/#{year}.stateofthemap.org/.jekyll-cache" do - mode 0o755 + mode "755" owner "nobody" group "nogroup" end @@ -370,6 +370,6 @@ template "/etc/cron.daily/sotm-backup" do source "backup.cron.erb" owner "root" group "root" - mode 0o750 + mode "750" variables :passwords => passwords end