X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/93c098cdc4f22b1fe69ecd88b3ac2d2b211780ff..a86724a8db309dcdafff46b762171af67b1bb05e:/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]" )