]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/switch2osm/recipes/default.rb
Respond with 429 to abusive "ping" requests
[chef.git] / cookbooks / switch2osm / recipes / default.rb
index 6f3d03933e47376dfc56bf6a1162a87c9d25e813..c0a3da3cbf87aa9165c268e93b7b0c876f9a6a84 100644 (file)
@@ -48,7 +48,7 @@ git "/srv/switch2osm.org" do
 end
 
 directory "/srv/switch2osm.org/_site" do
-  mode 0o755
+  mode "755"
   owner "nobody"
   group "nogroup"
 end
@@ -56,7 +56,7 @@ end
 # Workaround https://github.com/jekyll/jekyll/issues/7804
 # by creating a .jekyll-cache folder
 directory "/srv/switch2osm.org/.jekyll-cache" do
-  mode 0o755
+  mode "755"
   owner "nobody"
   group "nogroup"
 end