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