chefのcookbook郡の中のrecipe内、serviceの記述部分で不必要な再起動をしないための記述方法
cookbooks/munin-node/recipes/default.rb
template "/etc/munin/plugin-conf.d/nginx" do
source "nginx"
notifies :restart, "service[munin-node]"
end
service "munin-node" do
supports :start => true, :restart => true, :enable => true
end
template
で記述したファイルが書き変わって実行された場合のみmunin-node
のrestartが走る