]> git.openstreetmap.org Git - chef.git/blobdiff - roles/stats.rb
Simplify loop index where arithmetic isn't needed.
[chef.git] / roles / stats.rb
index 214c8b0b8790a884419d12f5018ef9058863f4b6..9c3290d3b6cf5788544c5332175a7d1611d3a1d5 100644 (file)
@@ -4,13 +4,15 @@ description "Role applied to stats.openstreetmap.org"
 default_attributes(
   :stats => {
     :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 => "*"
       }
     ]
   }