1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
# CFEngine 3 masterfiles
CFEngine 3 is a popular open source configuration management system. Its primary
function is to provide automated configuration and maintenance of large-scale
computer systems.
This repository is intended to provide a stable base policy for
installations and upgrades, and is used by CFEngine 3.6 and newer.
The documentation for the masterfiles, highly recommended, is at
https://docs.cfengine.com/docs/master/guide-writing-and-serving-policy-policy-framework.html
## Installation
The contents of this repository are intended to live in `/var/cfengine/masterfiles` or wherever `$(sys.masterdir)` points.
Use the convenience install target:
```
./autogen.sh
make install
```
to install only what's needed (without `tests`, only policies). By
default it installs in `/var/cfengine/masterfiles` but you can
override that easily:
```
./autogen.sh --prefix=/my/other/install/directory
make install
```
Note that the last directory component will always be called `masterfiles`.
## Host report
A very important piece of functionality, which you may want for your
own use but will certainly be helpful for debugging or submitting bugs
to CFEngine (core, masterfiles, or any other are) is the host report.
Run the host report like so: `cf-agent -b host_info_report`
You should see output like:
```
R: Host info report generated and avilable at '/var/cfengine/reports/host_info_report.txt'
```
Take a look at the resulting file, it has lots of useful information about the system.
## Contributing
Please see the [CONTRIBUTING.md](CONTRIBUTING.md) file.
The CFEngine masterfiles are under the MIT license, see [LICENSE](LICENSE)
|