From 5d4a7d7b197695063832095f4ca706d92c5f14b4 Mon Sep 17 00:00:00 2001 From: Sten Spans Date: Mon, 18 Jul 2016 13:10:27 +0200 Subject: [PATCH 1/2] Update configure.rb --- recipes/configure.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/configure.rb b/recipes/configure.rb index 9fcc8c1..0c51291 100644 --- a/recipes/configure.rb +++ b/recipes/configure.rb @@ -76,6 +76,6 @@ ruby_block 'updating of the list of checks' do block do checks = run_context.resource_collection.select { |r| r.is_a?(Chef::Resource::NrpeCheck) && r.action == [:add] }.map(&:command_name) - node.set['nrpe']['checks'] = checks + node.default['nrpe']['checks'] = checks end end From 29aafef97ad6f20a71e5d4f8d7059a67d1399e97 Mon Sep 17 00:00:00 2001 From: Sten Spans Date: Mon, 18 Jul 2016 13:11:15 +0200 Subject: [PATCH 2/2] Update metadata.rb --- metadata.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata.rb b/metadata.rb index 629c59d..cd5bdd5 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.5.3' +version '1.5.4' recipe 'default', 'Installs and configures a nrpe client' %w(build-essential yum-epel).each do |cb|