Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Policy masterfiles that are shipped with CFEngine packages
Python Shell HTML

Merge pull request #498 from nickanderson/redmine/7318

Change: Inform guards to DEBUG
latest commit c2322fad4d
@kacfengine kacfengine authored
Failed to load latest commit information.
cfe_internal Merge pull request #498 from nickanderson/redmine/7318
controls Add: Support for class augmentation from def.json in update policy
inventory Change: Inform guards to DEBUG
lib Change: autorun related verbose_mode class guards to DEBUG
m4 Add apt-get and yum package module tests.
modules/packages Merge branch 'new_package_promise_only_modules'
services Change: Move service_catalogue to main
sketches/meta Support CFEngine 3.7 and remove support for 3.4
templates templates/host_info_report.mustache: add sys.policy_hub to report
tests Disable package tests on non-Linuxes that depend on Python.
.gitignore Ignore masterfiles/test-driver
CHANGELOG.md Add: Changelog entry for cf-key not being run from update policy
CONTRIBUTING.md Add a link to core's test procedures.
LICENSE Add MIT license
Makefile.am Add apt-get and yum package module tests.
README.md Configure parameter --with-core is now optional.
autogen.sh Fix script exiting with error when NO_CONFIGURE was set.
configure.ac Turn direct assignment into for loops to avoid overflow.
example_def.json Change: Rename roles to classes
promises.cf Change: autorun related verbose_mode class guards to DEBUG
update.cf Change: Re-organize controls

README.md

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

https://docs.cfengine.com/docs/master/guide-writing-and-serving-policy-policy-framework.html

Installation

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:

./autogen.sh
make install

If you have downloaded a release tarball, you don't need to run autogen.sh. 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.

Contributing

Please see the CONTRIBUTING.md file.

The CFEngine masterfiles are under the MIT license, see LICENSE

Something went wrong with that request. Please try again.