cf-reactor
cf-reactor is the CFEngine event reaction daemon.
We are currently working on making cf-reactor respond to events specified in policy language, using when bodies and reactor bundles.
This feature is coming in 3.29.0 and will be further documented here in the future.
Notes:
-
In CFEngine Enterprise
cf-reactorhas some extra responsibilities, where it listens toNOTIFYevents in the PostgreSQL database and performs actions when those events occur. One example of such events is refreshing thehost_specific.jsonfiles whenever there is an event in thecmdb_refreshchannel. -
In the future, the daemon should also take care of inventory refresh for hosts (now part of
cf-hub) and many DB maintenance tasks that are now promises in the Masterfiles Policy Framework policy under/cfe_internal/enterprise.
History:
- In 3.18.2 / 3.20.0
cf-reactorwas introduced as an Enterprise-only hub component. - In 3.29.0
cf-reactorwas moved to CFEngine community to be used as the daemon for event driven CFEngine policy.
Command reference
--debug , -d - Enable debugging output and run in foreground
--no-fork , -F - Run as a foreground process (do not fork)
--log-level , -g value - Specify how detailed logs should be. Possible values: 'error', 'warning', 'notice', 'info', 'verbose', 'debug'
--help , -h - Print the help message
--inform , -I - Print basic information about actions being taken
--timestamp , -l - Log timestamps on each line of log output
--man , -M - Output verbose information about the behaviour of the agent
--verbose , -v - Output the version of the software
--version , -V - (null)