]> 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 5dad4d1fefb911a216bc75f971e28268281e6e79..c0a3da3cbf87aa9165c268e93b7b0c876f9a6a84 100644 (file)
@@ -21,6 +21,9 @@ include_recipe "apache"
 include_recipe "git"
 
 package %w[
+  gcc
+  g++
+  make
   ruby
   ruby-dev
   libssl-dev
@@ -45,7 +48,7 @@ git "/srv/switch2osm.org" do
 end
 
 directory "/srv/switch2osm.org/_site" do
-  mode 0o755
+  mode "755"
   owner "nobody"
   group "nogroup"
 end
@@ -53,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