]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/switch2osm/recipes/default.rb
Use node name instead of hostname for cache statistics
[chef.git] / cookbooks / switch2osm / recipes / default.rb
index da4957cad122d160dff4648425e4e00293b77a0c..5dad4d1fefb911a216bc75f971e28268281e6e79 100644 (file)
@@ -38,6 +38,7 @@ end
 git "/srv/switch2osm.org" do
   action :sync
   repository "https://github.com/switch2osm/switch2osm.github.io.git"
 git "/srv/switch2osm.org" do
   action :sync
   repository "https://github.com/switch2osm/switch2osm.github.io.git"
+  depth 1
   user "root"
   group "root"
   notifies :run, "execute[/srv/switch2osm.org/Gemfile]"
   user "root"
   group "root"
   notifies :run, "execute[/srv/switch2osm.org/Gemfile]"