X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/45dde9418dd342bb1a632d82559201c0b3becf1a..21187d302463ac14ce12ea0b42d27d277d2f175a:/cookbooks/munin/resources/plugin.rb diff --git a/cookbooks/munin/resources/plugin.rb b/cookbooks/munin/resources/plugin.rb index 01bf9167e..e9387b1e7 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 @@ -37,7 +37,7 @@ action :create do to target_path end - if new_resource.conf # ~FC023 + if new_resource.conf munin_plugin_conf new_resource.plugin do cookbook new_resource.conf_cookbook template new_resource.conf @@ -52,7 +52,7 @@ action :delete do action :delete end - if new_resource.conf # ~FC023 + if new_resource.conf munin_plugin_conf new_resource.plugin do action :delete restart_munin false