Cfengine

From DWIKI

From the site:

Cfengine, or the configuration engine is an autonomous agent and a middle to high level policy language and agent for building expert systems to administrate and configure large computer networks. Cfengine is designed to be a part of a computer immune system[1]. It is ideal for cluster management and has been adopted for use all over the world in small and huge organizations alike.


Usefull links
http://www.cfengine.org/ CFengine homepage
http://sial.org/howto/cfengine/ A cfengine howto
http://cfwiki.org/cfwiki/index.php/Main_Page CFengine Wiki


cfengine commandline tips

cfagent use

Run an update of the configuration files now

 cfagent -Bqv

Run cfagent now

 cfagent -Kqv

Show what classes are active

 cfagent -pv

configfile maintenance

Create a list of directory entries from a given folder

 find /opt/ -type d -printf "%p o=%u g=%g mode=%m\n"