You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
qubitrenegade
changed the title
chef-compliance reporter fails with message "Chef::Handler::AuditReport raised #<ArgumentError: wrong number of arguments (given 2, expected 1)>"
reporter: chef-compliance fails with error "ArgumentError: wrong number of arguments (given 2, expected 1)>"
Jun 7, 2017
Cookbook version
v4.0.0
Chef-client version
12.20.3
Platform Details
CentOS: 6.5 and 7.2
Inspec: 1.27.0
Scenario:
Attempting to use
chef-compliance
reporter.Steps to Reproduce:
recipe[audit::default]
Expected Result:
Compliance profile should run and report directly to Chef Compliance.
Actual Result:
Receive an error:
Report handler Chef::Handler::AuditReport raised #<ArgumentError: wrong number of arguments (given 2, expected 1)>
This points to line 57 of libraries/compliance.rb, which the new version of inspec Compliance::API does not support anymore. inspec v1.24.0 appears to be the last version of this library to support this.
The text was updated successfully, but these errors were encountered: