X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/741593ee2bf203c9261f604d094e3d8e621698a8..e70f2280a019f3147d2a53ba614e5604d8487b57:/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