package "munin-node"
service "munin-node" do
- if node[:lsb][:release].to_f >= 14.04
+ if node[:lsb][:release].to_f >= 15.10
+ provider Chef::Provider::Service::Systemd
+ elsif node[:lsb][:release].to_f >= 14.04
provider Chef::Provider::Service::Upstart
end
action [:enable, :start]
end
end
+munin_plugin_conf "df" do
+ template "df.erb"
+end
+
munin_plugin "df"
munin_plugin "df_inode"
+
munin_plugin "diskstats"
munin_plugin "entropy"
munin_plugin "forks"