]> git.openstreetmap.org Git - chef.git/blobdiff - roles/planet.rb
Move the daily statistics to be served from planet.openstreetmap.org
[chef.git] / roles / planet.rb
index 50ebd4064a5e5375293f5a9ffef80fd286e80558..78aabf815ae313a0602e3bd11ef1838105a482e9 100644 (file)
@@ -49,6 +49,17 @@ default_attributes(
         :ignore_nonreadable => true,
         :timeout => 3600,
         :refuse_options => ["checksum"]
+      },
+      :statistics => {
+        :comment => "Statistics",
+        :path => "/store/planet/statistics",
+        :read_only => false,
+        :write_only => true,
+        :list => false,
+        :uid => "planet",
+        :gid => "planet",
+        :transfer_logging => false,
+        :nodes_allow => "roles:web-statistics"
       }
     }
   }