X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/18e12b0e123fc3e5f344682f884feabc12da0f5a..256c5a8a9a19677c107860975991897b685bebe6:/cookbooks/munin/resources/plugin.rb diff --git a/cookbooks/munin/resources/plugin.rb b/cookbooks/munin/resources/plugin.rb index 1fcff4c05..dede3cb53 100644 --- a/cookbooks/munin/resources/plugin.rb +++ b/cookbooks/munin/resources/plugin.rb @@ -1,8 +1,8 @@ # -# Cookbook Name:: munin +# Cookbook:: munin # Provider:: munin_plugin # -# Copyright 2013, OpenStreetMap Foundation +# Copyright:: 2013, OpenStreetMap Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -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