From: Tom Hughes Date: Sat, 15 Sep 2018 13:46:09 +0000 (+0100) Subject: Use a planet-current role to handle keeping an up to date planet X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/fb0eeba826e069ecddadbc11d9160a6d63aed149 Use a planet-current role to handle keeping an up to date planet --- diff --git a/roles/planet-current.rb b/roles/planet-current.rb new file mode 100644 index 000000000..97f23d247 --- /dev/null +++ b/roles/planet-current.rb @@ -0,0 +1,16 @@ +name "planet-current" +description "Role applied to all servers needing an up to date planet file" + +default_attributes( + :accounts => { + :users => { + :planet => { + :status => :role + } + } + } +) + +run_list( + "recipe[planet::current]" +) diff --git a/roles/taginfo.rb b/roles/taginfo.rb index b7233afca..05e4bf9bf 100644 --- a/roles/taginfo.rb +++ b/roles/taginfo.rb @@ -50,6 +50,6 @@ default_attributes( ) run_list( - "recipe[planet::current]", + "role[planet-current]", "recipe[taginfo]" )