X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/fd5ee39de6eac3658fee08d5864ac6446dc9bd53..0826de111e02616451c918ac73e1a167a0e79c7c:/cookbooks/munin/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/munin/recipes/default.rb b/cookbooks/munin/recipes/default.rb index f02730ebc..0bcccbb93 100644 --- a/cookbooks/munin/recipes/default.rb +++ b/cookbooks/munin/recipes/default.rb @@ -22,6 +22,9 @@ include_recipe "networking" package "munin-node" service "munin-node" do + if node[:lsb][:release].to_f >= 14.04 + provider Chef::Provider::Service::Upstart + end action [ :enable, :start ] supports :status => true, :restart => true, :reload => true end