CF-Engine 3 Installation

By jbayer - Last updated: Friday, June 22, 2012 - Save & Share - 2 Comments

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)

Posted in Administration • • Top Of Page
494 views

2 Responses to “CF-Engine 3 Installation”

Comment from jbayer
Time July 20, 2012 at 6:12 pm

This script will not work at present on a RHEL5/CentOS 5 system due to a missing parameter in the spec file. I’ll be getting an updated version here soon.

Comment from jbayer
Time July 23, 2012 at 7:12 am

The script has been updated, it will now work properly on release 5 systems

Write a comment

asd