We are starting to use CF-Engine 3. I didn’t find any RPMs for CentOS that I liked, so I whipped up the attached script to download, compile and install CF-engine 3 for me.
This was developed and tested on a CentOS 6.2 system. It should work on RHEL6, SL6, and probably all the RHEL5 based variants as well.
A quick note about the file. Once you download it, uncompress it with gzip:
gzip -d cfengine.sh.gz
and just run the script. This file is something called a “shar” file, which is a way to put files into text. It’s been slightly modified to run the install script after extracting the included files.
Create a new directory for this, and run it from there, as root.
Udated 7/23/2012, now properly handles both Redhat/CentOS/Scientific Linux 5 & 6 releases
Also can now initialize a local install as a non-policy server
cfengine.sh.gz (11.7 KiB, 303 hits)