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

..03-May-2022-

cf-agent/H25-Nov-2021-36,55727,607

cf-check/H25-Nov-2021-4,5813,830

cf-execd/H25-Nov-2021-3,8202,885

cf-key/H25-Nov-2021-1,8341,416

cf-monitord/H25-Nov-2021-8,1435,709

cf-net/H25-Nov-2021-1,8461,542

cf-promises/H25-Nov-2021-1,3981,144

cf-runagent/H25-Nov-2021-1,7731,431

cf-secret/H25-Nov-2021-1,9301,613

cf-serverd/H25-Nov-2021-10,7597,741

cf-testd/H25-Nov-2021-1,6991,367

cf-upgrade/H25-Nov-2021-2,5401,701

contrib/vagrant-ci/centos-7-x64/H25-Nov-2021-695609

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

ext/H25-Nov-2021-1,029825

libcfnet/H25-Nov-2021-8,7765,783

libenv/H25-Nov-2021-6,4534,758

libntech/H25-Nov-2021-116,36187,381

libpromises/H25-Nov-2021-82,31559,950

m4/H25-Nov-2021-10,2869,315

misc/H25-Nov-2021-3,0732,547

tests/H25-Nov-2021-286,651249,661

AUTHORSH A D25-Nov-20216.4 KiB190145

CFVERSIONH A D25-Nov-202118 21

ChangeLogH A D25-Nov-2021157.5 KiB3,4573,105

INSTALLH A D25-Nov-20213.6 KiB13691

LICENSEH A D25-Nov-202143.2 KiB891712

Makefile.amH A D25-Nov-20215.5 KiB17696

Makefile.inH A D25-Nov-202139.2 KiB1,2031,029

README.mdH A D25-Nov-20214.9 KiB9362

aclocal.m4H A D25-Nov-202139.4 KiB1,088992

compileH A D25-Nov-20217.2 KiB348258

config.guessH A D25-Nov-202142.9 KiB1,4631,270

config.h.inH A D25-Nov-202132.3 KiB1,240855

config.post.h.inH A D25-Nov-20211.2 KiB3023

config.subH A D25-Nov-202135.5 KiB1,8261,688

configureH A D25-Nov-2021704.3 KiB25,99521,409

configure.acH A D25-Nov-202158.4 KiB1,8811,545

configure_flags.env.inH A D25-Nov-2021750 1813

depcompH A D25-Nov-202123 KiB792502

install-shH A D25-Nov-202114.8 KiB509329

ltmain.shH A D25-Nov-2021316.8 KiB11,1577,986

missingH A D25-Nov-20216.7 KiB216143

ylwrapH A D25-Nov-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.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