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