-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 2.3.4 on supermarket fails to configure /etc/audit/auditd.conf on redhat systems #57
Comments
Seems
Looking in the berks cache, the default recipe doesn't have the reload command:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cookbook version
2.3.4
Chef-client version
13.6.4
Platform Details
centos 7.4.1708
Scenario:
The changes detailed at 84c30ce#diff-3145628960d821e12b5cc7c0cb6d1b39 didn't make it into version 2.3.4 released on supermarket at https://supermarket.chef.io/cookbooks/auditd so berks caches version 2.3.4 of the cookbook from supermarket which doesn't have this fix.
Steps to Reproduce:
default['auditd']['ruleset'] = 'cis'
toattributtes/default.rb
include_recipe 'auditd::conf
torecipes/default.rb
depends 'auditd', '~> 2.3.4'
tometadata.rb
berks install
.kitchen.yml
to have a centos 7 VMkitchen converge centos-7
Expected Result:
/etc/audit/auditd.conf
is updated when running theauditd::conf
recipe on centos/redhat instead of/etc/audit/cis.auditd
.Actual Result:
Does not configure
/etc/audit/auditd.conf
instead configuring/etc/audit/cis.auditd
Snippet detailing the errant configuration file path
Reviewing the berkshelf cache:
The text was updated successfully, but these errors were encountered: