diff --git a/metadata.rb b/metadata.rb index 279f014..1f454b1 100644 --- a/metadata.rb +++ b/metadata.rb @@ -4,7 +4,7 @@ license 'Apache 2.0' description 'Installs and configures Nagios NRPE client' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) -version '1.6.1' +version '1.6.2' issues_url 'https://github.com/schubergphilis/nrpe/issues' if respond_to?(:issues_url) source_url 'https://github.com/schubergphilis/nrpe' if respond_to?(:source_url) chef_version '>= 11.0' if respond_to?(:chef_version) diff --git a/providers/check.rb b/providers/check.rb index 2f05da5..23f8057 100644 --- a/providers/check.rb +++ b/providers/check.rb @@ -33,6 +33,7 @@ def whyrun_supported? rescue Chef::Exceptions::ResourceNotFound service node['nrpe']['service_name'] do action :nothing + supports restart: true, reload: true, status: true end end @@ -74,6 +75,7 @@ def whyrun_supported? rescue Chef::Exceptions::ResourceNotFound service node['nrpe']['service_name'] do action :nothing + supports restart: true, reload: true, status: true end end