cf-runagent8
Activate cf-agent on a remote host
Usage
cf-runagent [OPTION] ...
[FILE]
Overview
cf-runagent connects to a list of running instances of cf-serverd. It allows foregoing the usual cf-execd schedule to activate cf-agent. Additionally, a user may send classes to be defined on the remote host. Two kinds of classes may be sent: classes to decide on which hosts cf-agent will be started, and classes that the user requests cf-agent should define on execution. The latter type is regulated by cf-serverd's role based access control.
Options
-
--help, -h -
Print the help message
-
--background, -b value -
Parallelize connections (50 by default)
-
--debug, -d -
Enable debugging output
-
--verbose, -v -
Output verbose information about the behaviour of cf-runagent
-
--log-level, -g value -
Specify how detailed logs should be. Possible values: 'error', 'warning', 'notice', 'info', 'verbose', 'debug'
-
--dry-run, -n -
All talk and no action mode - make no changes, only inform of promises not kept
-
--version, -V -
Output the version of the software
-
--file, -f value -
Specify an alternative input file than the default. This option is overridden by FILE if supplied as argument.
-
--define-class, -D value -
Define a list of comma separated classes to be sent to a remote agent
-
--select-class, -s value -
Define a list of comma separated classes to be used to select remote agents by constraint
-
--inform, -I -
Print basic information about changes made to the system, i.e. promises repaired
-
--remote-options, -o value -
(deprecated)
-
--diagnostic, -x -
(deprecated)
-
--hail, -H value -
Hail the following comma-separated lists of hosts, overriding default list
-
--interactive, -i -
Enable interactive mode for key trust
-
--timeout, -t value -
Connection timeout, seconds
-
--color, -C value -
Enable colorized output. Possible values: 'always', 'auto', 'never'. If option is used, the default value is 'auto'
-
--timestamp, -l -
Log timestamps on each line of log output
-
--ignore-preferred-augments, - -
Ignore def_preferred.json file in favor of def.json
-
--log-modules, - value -
Enable even more detailed debug logging for specific areas of the implementation. Use together with '-d'. Use --log-modules=help for a list of available modules
-
--remote-bundles, - value -
Bundles to execute on the remote agent
Cfengine
CFEngine provides automated configuration management of large-scale computer systems. A system administrator describes the desired state of a system using CFEngine policy code. The program cf-agent reads policy code and attempts to bring the current system state to the desired state described. Policy code is downloaded by cf-agent from a cf-serverd daemon. The daemon cf-execd is responsible for running cf-agent periodically.
Documentation for CFEngine is available at https://docs.cfengine.com/.
Promise theory
CFEngine is built on principles from promise theory, proposed by Mark Burgess in 2004. Promise theory is a model of voluntary cooperation between individual, autonomous actors or agents who publish their intentions to one another in the form of promises. A promise is a declaration of intent whose purpose is to increase the recipient's certainty about a claim of past, present or future behaviour. For a promise to increase certainty, the recipient needs to trust the promiser, but trust can also be built on the verification that previous promises have been kept, thus trust plays a symbiotic relationship with promises.
For an introduction to promise theory, please see http://arxiv.org/abs/0810.3294/
Releases
8 releases since Debian 6.0 (Squeeze); the text changed 7 times.
- since Debian 9 (Stretch);
--background since Debian 8 (Jessie);
--color since Debian 8 (Jessie);
--debug since Debian 8 (Jessie);
--define-class since Debian 8 (Jessie);
--diagnostic since Debian 8 (Jessie);
--dry-run since Debian 8 (Jessie);
--file since Debian 8 (Jessie);
--hail since Debian 8 (Jessie);
--help since Debian 8 (Jessie);
--ignore-preferred-augments since Debian 12 (Bookworm);
--inform since Debian 8 (Jessie);
--interactive since Debian 8 (Jessie);
--log-level since Debian 10 (Buster);
--log-modules since Debian 10 (Buster);
--remote-bundles since Debian 9 (Stretch);
--remote-options since Debian 8 (Jessie);
--select-class since Debian 8 (Jessie);
--timeout since Debian 8 (Jessie);
--timestamp since Debian 9 (Stretch);
--verbose since Debian 8 (Jessie);
--version since Debian 8 (Jessie);
-C since Debian 8 (Jessie);
-D since Debian 8 (Jessie);
-H since Debian 8 (Jessie);
-I since Debian 8 (Jessie);
-V since Debian 8 (Jessie);
-b since Debian 8 (Jessie);
-d since Debian 8 (Jessie);
-f since Debian 8 (Jessie);
-g since Debian 10 (Buster);
-h since Debian 8 (Jessie);
-i since Debian 8 (Jessie);
-l since Debian 8 (Jessie);
-n since Debian 8 (Jessie);
-o since Debian 8 (Jessie);
-s since Debian 8 (Jessie);
-t since Debian 8 (Jessie);
-v since Debian 8 (Jessie);
-x since Debian 8 (Jessie).
--legacy-output until Debian 8 (Jessie).