Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Policy masterfiles that are shipped with CFEngine packages
Python Shell HTML
Latest commit 6cd21f0 @jimis jimis Merge pull request #611 from maciejmrowiec/master
Add travis CI config to check masterfiles syntax.
Failed to load latest commit information.
cfe_internal Change: Seperate binary details from policy update
controls Remove: Support for email settings from augments_file
inventory Fix: Syntax errors
lib Redmine #7737: Error while reading file.
m4 Make pkgsrc tests dependent on all the required platform tools.
modules/packages Update test scaffolding to allow pkgsrc package module tests
services Change: Move service_catalogue to main
sketches/meta Support CFEngine 3.7 and remove support for 3.4
templates Change: Minor refactor
tests Fix broken acceptance tests.
.gitignore Ignore masterfiles/test-driver
.travis.yml Add travis CI config to check masterfiles syntax. separate inputs into a secondary file Add a link to core's test procedures.
LICENSE Add MIT license Change: Make sure that 3.7 lib dir gets deployed Configure parameter --with-core is now optional. Fix script exiting with error when NO_CONFIGURE was set. Merge pull request #603 from kacfengine/pkgsrc
example_def.json Remove: Support for email settings from augments_file Fix: Typos in class names Change: Seperate binary details from policy update

CFEngine 3 masterfiles

CFEngine 3 is a popular open source configuration management system. Its primary function is to provide automated configuration and maintenance of large-scale computer systems.

This repository is intended to provide a stable base policy for installations and upgrades, and is used by CFEngine 3.6 and newer.

The documentation for the masterfiles, highly recommended, is at


The contents of this repository are intended to live in /var/cfengine/masterfiles or wherever $(sys.masterdir) points.

If you have cloned the repository from github:

make install

If you have downloaded a release tarball, you don't need to run By default it installs in /var/cfengine/masterfiles but you can override that easily:

./configure --prefix=/install/directory
make install

Note that the last directory component will always be called masterfiles.

Host report

A very important piece of functionality, which you may want for your own use but will certainly be helpful for debugging or submitting bugs to CFEngine (core, masterfiles, or any other are) is the host report.

Run the host report like so: cf-agent -b host_info_report

You should see output like:

R: Host info report generated and avilable at '/var/cfengine/reports/host_info_report.txt'

Take a look at the resulting file, it has lots of useful information about the system.


Please see the file.

The CFEngine masterfiles are under the MIT license, see LICENSE

Something went wrong with that request. Please try again.