X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/93c098cdc4f22b1fe69ecd88b3ac2d2b211780ff..aa631a37ed7af957d7b0c6c80b0257c183428132:/roles/taginfo.rb?ds=sidebyside 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]" )