Skip to content

Conversation

@proletaryo
Copy link
Contributor

Following through with the remaining CIS benchmarks: 5.x.x to 9.x.x

I noticed a problem with using custom facts using Ruby ($::fs00xx) - values doesn't get updated in my environment:

OS: AWS Linux 2014.09
facter: 2.4.4
puppet: 3.3.2

I still haven't figured out what's causing this. I decided to go with executable external facts instead: https://docs.puppetlabs.com/facter/2.4/custom_facts.html#executable-facts-----unix

This enables the module to use the BASH commands as audit tool and at the same time as generator for the facts, like this one (fact: cis_9_2_12):
https://github.com/proletaryo/cis-puppet/blob/master/files/awslinux/scripts/cis-9.2.12.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant