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