]> git.openstreetmap.org Git - chef.git/blobdiff - roles/stats.rb
Run asset precompilation in the production environment
[chef.git] / roles / stats.rb
index 214c8b0b8790a884419d12f5018ef9058863f4b6..ae2e02b01c81e25c8db5895242a83ca00c1aa048 100644 (file)
@@ -6,11 +6,13 @@ default_attributes(
     :sites => [
       { 
         :name => "planet.openstreetmap.org",
-        :log_pattern => "%YYYY-168-%MM-168-%DD-168.gz"
+        :log_pattern => "%YYYY-168-%MM-168-%DD-168.gz",
+        :days => "7"
       },
       { 
         :name => "www.openstreetmap.org",
-        :log_pattern => "*-%YYYY-48-%MM-48-%DD-48.gz"
+        :log_pattern => "*-%YYYY-48-%MM-48-%DD-48.gz",
+        :days => "*"
       }
     ]
   }