]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/munin/resources/plugin.rb
Revert to civicrm 4.6.26
[chef.git] / cookbooks / munin / resources / plugin.rb
index d8861fafefdda145195f5d375a0a8460baf94009..5b93b8dea257a0fb662a67bd37a072abd77546b4 100644 (file)
@@ -28,5 +28,5 @@ attribute :conf_variables, :kind_of => Hash, :default => {}
 attribute :restart_munin, :kind_of => [TrueClass, FalseClass], :default => true
 
 def after_created
-  notifies :restart, "service[munin-node]" if restart_munin
+  notifies :restart, "service[munin-node]" if restart_munin && node[:recipes].include?("munin")
 end