From 845f894410b0c32db9cf0596e7771ffd00ad5b6d Mon Sep 17 00:00:00 2001 From: qubitrenegade Date: Wed, 7 Jun 2017 14:45:28 -0600 Subject: [PATCH] Fixed typo, Reporter::ChefServer should have been Reporter::ChefServerCompliance. Fixes #234. Bumped metadata to version 4.0.2 Signed-off-by: qubitrenegade --- files/default/handler/audit_report.rb | 2 +- metadata.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/default/handler/audit_report.rb b/files/default/handler/audit_report.rb index 6f5360b3..2cd3e1b3 100644 --- a/files/default/handler/audit_report.rb +++ b/files/default/handler/audit_report.rb @@ -238,7 +238,7 @@ def send_report(reporter, server, user, source_location, report) raise_if_unreachable: raise_if_unreachable, source_location: source_location, } - Reporter::ChefServer.new(opts).send_report(report) + Reporter::ChefServerCompliance.new(opts).send_report(report) else Chef::Log.warn "unable to determine chef-server url required by inspec report collector '#{reporter}'. Skipping..." end diff --git a/metadata.rb b/metadata.rb index 815a03ae..a1f8c379 100644 --- a/metadata.rb +++ b/metadata.rb @@ -5,7 +5,7 @@ license 'Apache-2.0' description 'Allows for fetching and executing compliance profiles, and reporting its results' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) -version '4.0.0' +version '4.0.2' source_url 'https://github.com/chef-cookbooks/audit' issues_url 'https://github.com/chef-cookbooks/audit/issues'