I am working on an article to introduce more sysadmins to cfengine 3, and I need help from the cfengine community putting together working standalone examples of the power and simplicity of cfengine 3.
By standalone, I mean I should be able to run "cf-agent -f example1.cf" and have example1.cf be the only file in /var/cfengine/inputs, and have it work. Here is what I would like to see: 1. Make sure /proc/sys/vm/swappiness is set to 0 on Linux servers. 2. Make sure root crontab contains an entry for "0 0 * * * /sysadmin/nightly.sh" 3. Make sure ntpd and snmpd are running. 4. Alert an alert if any mounted filesystem exceeds 75% utilization. 5. Alert if there is any account with uid 0 other than root. That should be enough, I don't want to overwhelm my readers with too many examples. I am going to work on coding these up, but if you already have some working code that does this, please let me know. Thanks, Aleksey _______________________________________________ Help-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/help-cfengine
