X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b3ee7b1035952ca54061e6cc5c058805101b4cce..9d0d905f6c7d6d4d2b70cbe551e1ee7d796a0d85:/roles/taginfo.rb diff --git a/roles/taginfo.rb b/roles/taginfo.rb index fb0bea3b5..c7d3d5b51 100644 --- a/roles/taginfo.rb +++ b/roles/taginfo.rb @@ -8,7 +8,6 @@ default_attributes( :status => :administrator }, :taginfo => { - :status => :role, :members => [:jochen, :tomh] } } @@ -27,6 +26,16 @@ default_attributes( :passenger => { :max_pool_size => 50 }, + :planet => { + :current => { + :jobs => { + :taginfo => { + :command => "/usr/local/bin/taginfo-update", + :user => "taginfo" + } + } + } + }, :taginfo => { :sites => [ { @@ -42,5 +51,6 @@ default_attributes( ) run_list( + "role[planet-current]", "recipe[taginfo]" )