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
The inspec_gem resource in the audit cookbook should declare `unified_mode true` at 1 location:
- /tmp/kitchen/cache/cookbooks/audit/resources/inspec_gem.rb
See https://docs.chef.io/deprecations_unified_mode/ for further details.
Steps to Reproduce:
we have a dependency in the metadata.rb our base cookbook: depends 'audit'
in our base cookbook recipe, we have an include recipe like so: include_recipe 'base_wrapper::base_audit'
and that recipe looks like so:
if node['fnb_base_wrapper']['fnb_base_audit']['audit_enabled'] == true
include_recipe 'audit::default'
end
Expected Result:
run through without errors.
Actual Result:
returns error:
The inspec_gem resource in the audit cookbook should declare `unified_mode true` at 1 location:
- /tmp/kitchen/cache/cookbooks/audit/resources/inspec_gem.rb
See https://docs.chef.io/deprecations_unified_mode/ for further details.
The text was updated successfully, but these errors were encountered:
Cookbook version
"version": "9.5.0"
Chef-client version
Chef Infra Client: 17.9.26
Platform Details
CentOS 7.9.2009
Scenario:
kitchen tests produce an error:
Steps to Reproduce:
we have a dependency in the metadata.rb our base cookbook:
depends 'audit'
in our base cookbook recipe, we have an include recipe like so:
include_recipe 'base_wrapper::base_audit'
and that recipe looks like so:
Expected Result:
run through without errors.
Actual Result:
returns error:
The text was updated successfully, but these errors were encountered: