Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
CFEngine Community
C Shell Bison Emacs Lisp Perl C++ Other

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
3rdparty/peg-0.1.13
cf-agent
cf-execd
cf-key
cf-monitord
cf-promises
cf-runagent
cf-serverd
cf-upgrade
contrib
docs
examples
ext
libcfnet
libcompat
libenv
libpromises
libutils
m4
tests
.gitignore
.mailmap
AUTHORS
BSDmakefile
ChangeLog
GLOBALS
HACKING.md
INSTALL
LICENSE
Makefile.am
README.md
autogen.sh
checkglobals.sh
configure.ac
configure_flags.env.in
create_tarball.sh
splint-check.sh

README.md

CFEngine 3

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.

Installation

Please see the INSTALL file for prerequisites and build instructions.

License

As per the LICENSE file, CFEngine Community is licensed under the Gnu General Public License GPL, version 3.

Example Usage

Hello World

The following code demonstrates simple CFEngine output through a reports promise.

body common control
{
  bundlesequence => { "run" };
}

bundle agent run
{
  reports:
    cfengine::
      "Hello, world";
}

The following policy code may be executed with cf-agent (the main CFEngine binary) as follows.

$ cf-agent/cf-agent hello.cf
R: Hello, world

Contributing

Please see the HACKING.md file.

Relationship to CFEngine 2

CFEngine 3 is not a drop-in upgrade for CFEngine 2 installations. It is a significantly more powerful version, but it is incompatible with the CFEngine 2 policy language.

The server part of CFEngine 3 supports the network protocol of CFEngine 2, so you may upgrade your installation gradually.

Something went wrong with that request. Please try again.