|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| cf-agent/ | H | 25-Nov-2021 | - | 36,557 | 27,607 |
| cf-check/ | H | 25-Nov-2021 | - | 4,581 | 3,830 |
| cf-execd/ | H | 25-Nov-2021 | - | 3,820 | 2,885 |
| cf-key/ | H | 25-Nov-2021 | - | 1,834 | 1,416 |
| cf-monitord/ | H | 25-Nov-2021 | - | 8,143 | 5,709 |
| cf-net/ | H | 25-Nov-2021 | - | 1,846 | 1,542 |
| cf-promises/ | H | 25-Nov-2021 | - | 1,398 | 1,144 |
| cf-runagent/ | H | 25-Nov-2021 | - | 1,773 | 1,431 |
| cf-secret/ | H | 25-Nov-2021 | - | 1,930 | 1,613 |
| cf-serverd/ | H | 25-Nov-2021 | - | 10,759 | 7,741 |
| cf-testd/ | H | 25-Nov-2021 | - | 1,699 | 1,367 |
| cf-upgrade/ | H | 25-Nov-2021 | - | 2,540 | 1,701 |
| contrib/vagrant-ci/centos-7-x64/ | H | 25-Nov-2021 | - | 695 | 609 |
| examples/ | H | 03-May-2022 | - | 29,008 | 22,038 |
| ext/ | H | 25-Nov-2021 | - | 1,029 | 825 |
| libcfnet/ | H | 25-Nov-2021 | - | 8,776 | 5,783 |
| libenv/ | H | 25-Nov-2021 | - | 6,453 | 4,758 |
| libntech/ | H | 25-Nov-2021 | - | 116,361 | 87,381 |
| libpromises/ | H | 25-Nov-2021 | - | 82,315 | 59,950 |
| m4/ | H | 25-Nov-2021 | - | 10,286 | 9,315 |
| misc/ | H | 25-Nov-2021 | - | 3,073 | 2,547 |
| tests/ | H | 25-Nov-2021 | - | 286,651 | 249,661 |
| AUTHORS | H A D | 25-Nov-2021 | 6.4 KiB | 190 | 145 |
| CFVERSION | H A D | 25-Nov-2021 | 18 | 2 | 1 |
| ChangeLog | H A D | 25-Nov-2021 | 157.5 KiB | 3,457 | 3,105 |
| INSTALL | H A D | 25-Nov-2021 | 3.6 KiB | 136 | 91 |
| LICENSE | H A D | 25-Nov-2021 | 43.2 KiB | 891 | 712 |
| Makefile.am | H A D | 25-Nov-2021 | 5.5 KiB | 176 | 96 |
| Makefile.in | H A D | 25-Nov-2021 | 39.2 KiB | 1,203 | 1,029 |
| README.md | H A D | 25-Nov-2021 | 4.9 KiB | 93 | 62 |
| aclocal.m4 | H A D | 25-Nov-2021 | 39.4 KiB | 1,088 | 992 |
| compile | H A D | 25-Nov-2021 | 7.2 KiB | 348 | 258 |
| config.guess | H A D | 25-Nov-2021 | 42.9 KiB | 1,463 | 1,270 |
| config.h.in | H A D | 25-Nov-2021 | 32.3 KiB | 1,240 | 855 |
| config.post.h.in | H A D | 25-Nov-2021 | 1.2 KiB | 30 | 23 |
| config.sub | H A D | 25-Nov-2021 | 35.5 KiB | 1,826 | 1,688 |
| configure | H A D | 25-Nov-2021 | 704.3 KiB | 25,995 | 21,409 |
| configure.ac | H A D | 25-Nov-2021 | 58.4 KiB | 1,881 | 1,545 |
| configure_flags.env.in | H A D | 25-Nov-2021 | 750 | 18 | 13 |
| depcomp | H A D | 25-Nov-2021 | 23 KiB | 792 | 502 |
| install-sh | H A D | 25-Nov-2021 | 14.8 KiB | 509 | 329 |
| ltmain.sh | H A D | 25-Nov-2021 | 316.8 KiB | 11,157 | 7,986 |
| missing | H A D | 25-Nov-2021 | 6.7 KiB | 216 | 143 |
| ylwrap | H A D | 25-Nov-2021 | 6.7 KiB | 248 | 143 |
README.md
1[![Gitter chat](https://badges.gitter.im/cfengine/core.png)](https://gitter.im/cfengine/core)
2
3| Version | [Core](https://github.com/cfengine/core) | [MPF](https://github.com/cfengine/masterfiles) |
4|------------|--------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|
5| master | [![Core Build Status](https://travis-ci.org/cfengine/core.svg?branch=master)](https://travis-ci.org/cfengine/core) | [![MPF Build Status](https://travis-ci.org/cfengine/masterfiles.svg?branch=master)](https://travis-ci.org/cfengine/masterfiles) |
6| 3.15.x LTS | [![Core Build Status](https://travis-ci.org/cfengine/core.svg?branch=3.15.x)](https://travis-ci.org/cfengine/core) | [![MPF Build Status](https://travis-ci.org/cfengine/masterfiles.svg?branch=3.15.x)](https://travis-ci.org/cfengine/masterfiles) |
7| 3.12.x LTS | [![Core Build Status](https://travis-ci.org/cfengine/core.svg?branch=3.12.x)](https://travis-ci.org/cfengine/core) | [![MPF Build Status](https://travis-ci.org/cfengine/masterfiles.svg?branch=3.12.x)](https://travis-ci.org/cfengine/masterfiles) |
8
9[![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/)
10
11# CFEngine 3
12
13CFEngine 3 is a popular open source configuration management system. Its primary
14function is to provide automated configuration and maintenance of large-scale
15computer systems.
16
17## Source code repositories
18
19CFEngine is comprised of several source code repositories.
20As you might be looking for another part of the open source code base, here is a list to ease navigation:
21
22* [core](https://github.com/cfengine/core) (This repo) - The C source code for core components, like cf-agent and cf-serverd.
23 * [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.
24 * [core/contrib](https://github.com/cfengine/core/tree/master/contrib) (subdirectory in core) - User-contributed tools and scripts
25* [masterfiles](https://github.com/cfengine/masterfiles) - The Masterfiles Policy Framework (MPF) contains the default policy (.cf) files
26* [documentation](https://github.com/cfengine/documentation) - Documentation on how CFEngine components work, the policy language, the enterprise features, etc.
27* [cf-remote](https://github.com/cfengine/cf-remote) - Tooling to make deploying / testing CFEngine across many remote instances easy
28* [buildscripts](https://github.com/cfengine/buildscripts) - Scripts and files needed to build installer packages across a wide variety of supported platforms
29
30(Each repo also contains some supporting code/files, such as tests, scripts, documentation, etc.).
31
32## Installation
33
34Pre-built installers are available from our website:
35
36* [Download CFEngine Enterprise Installers](https://cfengine.com/product/cfengine-enterprise-free-25/)
37* [Download CFEngine Community Installers](https://cfengine.com/product/community/)
38
39To install from source please see
40the [INSTALL](https://github.com/cfengine/core/blob/master/INSTALL) file for
41prerequisites and build instructions.
42
43## License
44
45As per the [LICENSE](https://github.com/cfengine/core/blob/master/LICENSE) file,
46CFEngine Community is licensed under the GNU General Public License, version 3.
47
48All the files in this repository are licensed under GNU GPL version 3, unless
49stated otherwise in the copyright notice inside the particular file.
50
51## Example Usage
52
53### Hello World
54
55The following code demonstrates simple CFEngine output through a reports promise.
56
57 body common control
58 {
59 bundlesequence => { "run" };
60 }
61
62 bundle agent run
63 {
64 reports:
65 cfengine::
66 "Hello, world";
67 }
68
69The following policy code may be executed with cf-agent (the main CFEngine binary) as follows.
70
71 $ cf-agent/cf-agent hello.cf
72 R: Hello, world
73
74## Contributing
75
76Please see the [CONTRIBUTING.md](https://github.com/cfengine/core/blob/master/CONTRIBUTING.md) file.
77
78## Relationship to CFEngine 2
79
80CFEngine 3 is *not* a drop-in upgrade for CFEngine 2 installations. It is a
81significantly more powerful version, but it is incompatible with the CFEngine 2
82policy language.
83
84The server part of CFEngine 3 supports the network protocol of CFEngine 2, so you may
85upgrade your installation gradually.
86
87# Authors
88
89CFEngine was originally created by Mark Burgess with many contributions from
90around the world. Thanks [everyone](https://github.com/cfengine/core/blob/master/AUTHORS)!
91
92[CFEngine](https://cfengine.com) is sponsored by [Northern.tech AS](https://northern.tech)
93