]> git.openstreetmap.org Git - chef.git/blobdiff - roles/taginfo.rb
Remove gpximport role from spike-01
[chef.git] / roles / taginfo.rb
index 5697e2df5260cb2392fc472e2a09bd16a99125d1..9da56f28c2903015501474ff6079101bc25f0a49 100644 (file)
@@ -24,10 +24,24 @@ default_attributes(
       :max_connections_per_child => 10000
     }
   },
+  :passenger => {
+    :max_pool_size => 50
+  },
+  :planet => {
+    :current => {
+      :jobs => {
+        :taginfo => {
+          :command => "/usr/local/bin/taginfo-update",
+          :user => "taginfo"
+        }
+      }
+    }
+  },
   :taginfo => {
     :sites => [
       {
         :name => "taginfo.openstreetmap.org",
+        :aliases => ["taginfo.osm.org"],
         :description => "This is the main taginfo site. It contains OSM data for the whole planet and is updated daily.",
         :about => "<p>This site is run by the <a href='https://www.osmfoundation.org/'>OSMF</a> and maintained by <a href='https://www.openstreetmap.org/user/Jochen%20Topf'>Jochen Topf</a> and the <a href='https://wiki.openstreetmap.org/wiki/System_Administrators'>Sysadmin team</a>.</p><p>Several <a class='extlink' href='//wiki.openstreetmap.org/wiki/Taginfo/Sites'>other taginfo sites</a> are operated by different people for different areas of the world.</p>",
         :icon => "world",
@@ -38,5 +52,6 @@ default_attributes(
 )
 
 run_list(
+  "role[planet-current]",
   "recipe[taginfo]"
 )