X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/a60f8a522d3ab47b49ba10b4c5cb756e5785ef58..ab47927c016597f8602b81dcdc168ad5c335389d:/cookbooks/munin/resources/plugin.rb diff --git a/cookbooks/munin/resources/plugin.rb b/cookbooks/munin/resources/plugin.rb index dede3cb53..bc58bf975 100644 --- a/cookbooks/munin/resources/plugin.rb +++ b/cookbooks/munin/resources/plugin.rb @@ -19,7 +19,7 @@ default_action :create -property :plugin, :kind_of => String, :name_attribute => true +property :plugin, :kind_of => String, :name_property => true property :target, :kind_of => String property :conf, :kind_of => String property :conf_cookbook, :kind_of => String @@ -81,5 +81,5 @@ action_class do end def after_created - notifies :restart, "service[munin-node]" if restart_munin && node[:recipes].include?("munin") + notifies :restart, "service[munin-node]" if restart_munin end