X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/741593ee2bf203c9261f604d094e3d8e621698a8..4848413b102b4643b0dbec409f0a45dd83cfc07f:/cookbooks/munin/resources/plugin.rb diff --git a/cookbooks/munin/resources/plugin.rb b/cookbooks/munin/resources/plugin.rb index e9387b1e7..10c149436 100644 --- a/cookbooks/munin/resources/plugin.rb +++ b/cookbooks/munin/resources/plugin.rb @@ -17,6 +17,8 @@ # limitations under the License. # +unified_mode true + default_action :create property :plugin, :kind_of => String, :name_property => true @@ -81,5 +83,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