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

..03-May-2022-

cf-agent/H09-Dec-2021-36,55827,608

cf-check/H09-Dec-2021-4,5813,830

cf-execd/H09-Dec-2021-3,7552,825

cf-key/H09-Dec-2021-1,8441,426

cf-monitord/H09-Dec-2021-8,1435,709

cf-net/H09-Dec-2021-1,8461,542

cf-promises/H09-Dec-2021-1,3981,144

cf-runagent/H09-Dec-2021-1,7731,431

cf-secret/H09-Dec-2021-1,9301,613

cf-serverd/H09-Dec-2021-10,7597,741

cf-testd/H09-Dec-2021-1,6991,367

cf-upgrade/H09-Dec-2021-2,5401,701

contrib/vagrant-ci/centos-7-x64/H09-Dec-2021-695609

examples/H03-May-2022-29,00822,038

ext/H09-Dec-2021-1,029825

libcfnet/H09-Dec-2021-8,7575,771

libenv/H09-Dec-2021-6,4534,758

libntech/H09-Dec-2021-116,76687,726

libpromises/H09-Dec-2021-82,38660,015

m4/H09-Dec-2021-10,2869,315

misc/H09-Dec-2021-3,0812,554

tests/H09-Dec-2021-287,614250,472

AUTHORSH A D09-Dec-20216.4 KiB190145

CFVERSIONH A D09-Dec-202118 21

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

INSTALLH A D09-Dec-20213.9 KiB14294

LICENSEH A D09-Dec-202143.2 KiB891712

Makefile.amH A D09-Dec-20215.6 KiB17998

Makefile.inH A D09-Dec-202139.2 KiB1,2061,031

README.mdH A D09-Dec-20215.2 KiB9463

aclocal.m4H A D09-Dec-202139.4 KiB1,088992

compileH A D09-Dec-20217.2 KiB348258

config.guessH A D09-Dec-202142.9 KiB1,4631,270

config.h.inH A D09-Dec-202132.3 KiB1,240855

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

config.subH A D09-Dec-202135.5 KiB1,8261,688

configureH A D09-Dec-2021704.3 KiB25,99521,409

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

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

depcompH A D09-Dec-202123 KiB792502

install-shH A D09-Dec-202114.8 KiB509329

ltmain.shH A D09-Dec-2021316.8 KiB11,1577,986

missingH A D09-Dec-20216.7 KiB216143

ylwrapH A D09-Dec-20216.7 KiB248143

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