• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/workflows/H17-Dec-2021-4842

.lgtm/cpp-queries/H17-Dec-2021-335283

3rdparty/peg-0.1.15/H17-Dec-2021-7,8816,884

cf-agent/H17-Dec-2021-35,43226,612

cf-check/H17-Dec-2021-3,7003,076

cf-execd/H17-Dec-2021-2,8412,038

cf-key/H17-Dec-2021-1,022723

cf-monitord/H17-Dec-2021-7,1044,795

cf-net/H17-Dec-2021-1,031845

cf-promises/H17-Dec-2021-576441

cf-runagent/H17-Dec-2021-957733

cf-secret/H17-Dec-2021-1,172958

cf-serverd/H17-Dec-2021-9,9007,004

cf-testd/H17-Dec-2021-902692

cf-upgrade/H17-Dec-2021-1,9711,170

contrib/H17-Dec-2021-13,0499,917

docs/H17-Dec-2021-2,0381,425

examples/H03-May-2022-28,72421,734

ext/H17-Dec-2021-280161

libcfnet/H17-Dec-2021-8,0455,150

libenv/H17-Dec-2021-5,6804,110

libntech/H26-Oct-2021-62,43342,971

libpromises/H03-May-2022-74,08653,580

m4/H17-Dec-2021-1,2111,112

misc/H17-Dec-2021-2,4321,766

tests/H17-Dec-2021-280,586244,262

travis-scripts/H17-Dec-2021-404295

.CFVERSIONH A D17-Dec-20217 21

.clang-formatH A D17-Dec-20211,000 4140

.gitignoreH A D17-Dec-20212.8 KiB188163

.gitmodulesH A D17-Dec-202184 43

.mailmapH A D17-Dec-20214 KiB5150

.style.yapfH A D17-Dec-2021123 65

.travis.ymlH A D17-Dec-20211.8 KiB6050

AUTHORSH A D17-Dec-20216.4 KiB190145

BSDmakefileH A D17-Dec-20211 KiB2625

CODE_OF_CONDUCT.mdH A D17-Dec-20211.7 KiB3728

CONTRIBUTING.mdH A D17-Dec-202138.1 KiB1,137857

ChangeLogH A D17-Dec-2021158 KiB3,4663,114

GLOBALSH A D17-Dec-20214.1 KiB13696

INSTALLH A D17-Dec-20213.9 KiB14294

LICENSEH A D17-Dec-202143.2 KiB891712

Makefile.amH A D17-Dec-20215.6 KiB17998

README.mdH A D17-Dec-20213.6 KiB8757

autogen.shH A D17-Dec-20212.3 KiB7938

checkglobals.shH A D17-Dec-20211.6 KiB5225

config.post.h.inH A D17-Dec-20211.2 KiB3023

configure.acH A D17-Dec-202158.4 KiB1,8811,545

configure_flags.env.inH A D17-Dec-2021750 1813

create_tarball.shH A D17-Dec-20211.8 KiB7443

lgtm.ymlH A D17-Dec-2021195 1512

splint-check.shH A D17-Dec-2021348 135

README.md

1[![Gitter chat](https://badges.gitter.im/cfengine/core.png)](https://gitter.im/cfengine/core)
2
3[![Language grade: C](https://img.shields.io/lgtm/grade/cpp/g/cfengine/core.svg?logo=lgtm&logoWidth=18&label=code%20quality)](https://lgtm.com/projects/g/cfengine/core/)
4
5# CFEngine 3
6
7CFEngine 3 is a popular open source configuration management system. Its primary
8function is to provide automated configuration and maintenance of large-scale
9computer systems.
10
11## Source code repositories
12
13CFEngine is comprised of several source code repositories.
14As you might be looking for another part of the open source code base, here is a list to ease navigation:
15
16* [core](https://github.com/cfengine/core) (This repo) - The C source code for core components, like cf-agent and cf-serverd.
17  * [libntech](https://github.com/cfengine/libntech) (submodule in core) - Library of reusable C code, such as data structures, string manipulation, JSON parsing, file handling, etc.
18  * [core/contrib](https://github.com/cfengine/core/tree/master/contrib) (subdirectory in core) - User-contributed tools and scripts
19* [masterfiles](https://github.com/cfengine/masterfiles) - The Masterfiles Policy Framework (MPF) contains the default policy (.cf) files
20* [documentation](https://github.com/cfengine/documentation) - Documentation on how CFEngine components work, the policy language, the enterprise features, etc.
21* [cf-remote](https://github.com/cfengine/cf-remote) - Tooling to make deploying / testing CFEngine across many remote instances easy
22* [buildscripts](https://github.com/cfengine/buildscripts) - Scripts and files needed to build installer packages across a wide variety of supported platforms
23
24(Each repo also contains some supporting code/files, such as tests, scripts, documentation, etc.).
25
26## Installation
27
28Pre-built installers are available from our website:
29
30* [Download CFEngine Enterprise Installers](https://cfengine.com/product/cfengine-enterprise-free-25/)
31* [Download CFEngine Community Installers](https://cfengine.com/product/community/)
32
33To install from source please see
34the [INSTALL](https://github.com/cfengine/core/blob/master/INSTALL) file for
35prerequisites and build instructions.
36
37## License
38
39As per the [LICENSE](https://github.com/cfengine/core/blob/master/LICENSE) file,
40CFEngine Community is licensed under the GNU General Public License, version 3.
41
42All the files in this repository are licensed under GNU GPL version 3, unless
43stated otherwise in the copyright notice inside the particular file.
44
45## Example Usage
46
47### Hello World
48
49The following code demonstrates simple CFEngine output through a reports promise.
50
51    body common control
52    {
53      bundlesequence => { "run" };
54    }
55
56    bundle agent run
57    {
58      reports:
59        cfengine::
60          "Hello, world";
61    }
62
63The following policy code may be executed with cf-agent (the main CFEngine binary) as follows.
64
65    $ cf-agent/cf-agent hello.cf
66    R: Hello, world
67
68## Contributing
69
70Please see the [CONTRIBUTING.md](https://github.com/cfengine/core/blob/master/CONTRIBUTING.md) file.
71
72## Relationship to CFEngine 2
73
74CFEngine 3 is *not* a drop-in upgrade for CFEngine 2 installations.  It is a
75significantly more powerful version, but it is incompatible with the CFEngine 2
76policy language.
77
78The server part of CFEngine 3 supports the network protocol of CFEngine 2, so you may
79upgrade your installation gradually.
80
81# Authors
82
83CFEngine was originally created by Mark Burgess with many contributions from
84around the world. Thanks [everyone](https://github.com/cfengine/core/blob/master/AUTHORS)!
85
86[CFEngine](https://cfengine.com) is sponsored by [Northern.tech AS](https://northern.tech)
87