CFEngine Community
C Shell M4 Yacc Emacs Lisp Makefile Other
Latest commit 7ba5154 Jul 6, 2016 Eystein Måløy Stenberg committed with jimis CFE-2447: Fix connection cache, reuse connections when possible.
Changelog: Title
Permalink
Failed to load latest commit information.
3rdparty/peg-0.1.13 Fix typos found by codespell Jan 2, 2015
cf-agent Fix bug occuring when first user/group in the promised list was invalid. Jul 26, 2016
cf-execd Behaviour change: cf-execd: Do not append -Dfrom_cfexecd to exec_comm… Jun 24, 2016
cf-key style Jun 29, 2016
cf-monitord CFE-1991: libenv: Add Linux parsing of /proc/net/ data. Mar 31, 2016
cf-promises Merge pull request #2613 from amousset/default-input-file-single-file… Jul 13, 2016
cf-runagent clarirify code, no functional change May 25, 2016
cf-serverd Define new macro ST_NBYTES for 'disk usage' of a file. Jul 5, 2016
cf-upgrade cf-upgrade: Fix out of tree builds Jan 9, 2015
contrib Add: Error handling in el-hub-reinstall Jul 15, 2016
docs Include the template files for extensions_template.[ch] in the source… Jun 16, 2015
examples Change: Modernize randomint example Jul 20, 2016
ext misc: Fix typos found by codespell Jan 2, 2015
libcfnet CFE-2447: Fix connection cache, reuse connections when possible. Aug 19, 2016
libcompat Redmine#7415: fix build failure on FreeBSD 7.1 Mar 15, 2016
libenv style Jun 29, 2016
libpromises Merge pull request #2651 from amousset/fix-2k-limit-in-json-variables Aug 5, 2016
libutils Change: Log level for keeping verbatim JSON to DEBUG Jul 18, 2016
m4 Redmine #7808: Do not drop privileges when changes permissions on non… Jan 29, 2016
misc Add --masterfiles option to changelog generator Aug 8, 2016
tests Merge pull request #2651 from amousset/fix-2k-limit-in-json-variables Aug 5, 2016
.gitignore obliterate CFWORKDIR (GLOBAL_C) and its usage in the main codebase. Mar 30, 2015
.mailmap Coalesce Chris Dituri's author names in .mailmap Jan 8, 2014
AUTHORS Fix typos found by codespell Jan 2, 2015
BSDmakefile Add missing copyright blurbs Sep 22, 2014
ChangeLog Update changelog for 3.9.0 final. Jun 6, 2016
GLOBALS GLOBALS: how to suppress mutability in CFEngine internals. Jul 25, 2014
HACKING.md memtion that you can use ```Jira #1234``` in changelog entry to refer… Apr 12, 2016
INSTALL Fix typos found by codespell Jan 2, 2015
LICENSE Fix typos found by codespell Jan 2, 2015
Makefile.am Reintroduce circular dependency workaround. Partial revert of 29cb917 Jun 19, 2015
README.md Clarify that files by default are GPLv3. Sep 22, 2014
autogen.sh Fix POSIX shell detection on Solaris. Aug 31, 2015
checkglobals.sh Add missing copyright blurbs Sep 22, 2014
configure.ac Adapt autoconf code to autoconf 2.63. Jul 22, 2016
configure_flags.env.in Export core version in configure_flags so we can check it downstream. Mar 17, 2015
create_tarball.sh Add missing copyright blurbs Sep 22, 2014
splint-check.sh Add missing copyright blurbs Sep 22, 2014

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, version 3.

All the files in this repository are licensed under GNU GPL version 3, unless stated otherwise in the copyright notice inside the particular file.

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.