X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/93c098cdc4f22b1fe69ecd88b3ac2d2b211780ff..a9bcfed7afd3f7cf5a39b6ce44b2b9bda03b3b53:/roles/taginfo.rb diff --git a/roles/taginfo.rb b/roles/taginfo.rb index d5ba812a9..c7d3d5b51 100644 --- a/roles/taginfo.rb +++ b/roles/taginfo.rb @@ -8,7 +8,6 @@ default_attributes( :status => :administrator }, :taginfo => { - :status => :role, :members => [:jochen, :tomh] } } @@ -24,6 +23,19 @@ 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 => [ { @@ -39,5 +51,6 @@ default_attributes( ) run_list( + "role[planet-current]", "recipe[taginfo]" )