- Notifications
You must be signed in to change notification settings - Fork190
cfengine/core
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
CFEngine 3 is a popular open source configuration management system. Its primaryfunction is to provide automated configuration and maintenance of large-scalecomputer systems.
CFEngine is comprised of several source code repositories.As you might be looking for another part of the open source code base, here is a list to ease navigation:
- core (This repo) - The C source code for core components, like cf-agent and cf-serverd.
- libntech (submodule in core) - Library of reusable C code, such as data structures, string manipulation, JSON parsing, file handling, etc.
- core/contrib (subdirectory in core) - User-contributed tools and scripts
- masterfiles - The Masterfiles Policy Framework (MPF) contains the default policy (.cf) files
- documentation - Documentation on how CFEngine components work, the policy language, the enterprise features, etc.
- cf-remote - Tooling to make deploying / testing CFEngine across many remote instances easy
- buildscripts - Scripts and files needed to build installer packages across a wide variety of supported platforms
(Each repo also contains some supporting code/files, such as tests, scripts, documentation, etc.).
Pre-built installers are available from our website:
To install from source please seetheINSTALL file forprerequisites and build instructions.
As per theLICENSE 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, unlessstated otherwise in the copyright notice inside the particular file.
In order to use the built cf-agent in the source tree you must add a$HOME/.cfagent/bin/cf-promises
file:
$pwd<something>/core$echo"cd$(pwd); cf-promises/cf-promises\"\$@\"">~/.cfagent/bin/cf-promises
The following code demonstrates simple CFEngine output through a reports promise.
bundle agent main{ reports: "Hello, world";}
The following policy code may be executed with cf-agent (the main CFEngine binary) as follows.
$ cf-agent/cf-agent ./hello.cfR: Hello, world
As this project uses autotools you must use libtool to run gdb/lldb/debuggers:
./libtool --mode=execute<gdb|lldb|yourdebugger> ./cf-agent/cf-agent
Please see theCONTRIBUTING.md file.
CFEngine 3 isnot a drop-in upgrade for CFEngine 2 installations. It is asignificantly more powerful version, but it is incompatible with the CFEngine 2policy language.
The server part of CFEngine 3 supports the network protocol of CFEngine 2, so you mayupgrade your installation gradually.
CFEngine was originally created by Mark Burgess with many contributions fromaround the world. Thankseveryone!
CFEngine is sponsored byNorthern.tech AS
About
CFEngine Community
Topics
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.