Difference between revisions of "Cfengine"

From DWIKI
Line 13: Line 13:
|}
|}


= Hints and tips =


== cfengine commandline ==
= cfengine commandline tips =


=== cfagent use ===
== cfagent use ==


Run an '''update''' of the configuration files '''now'''
Run an '''update''' of the configuration files '''now'''
Line 31: Line 30:
   cfagent -pv
   cfagent -pv


=== configfile maintenance ===
== configfile maintenance ==


Create a list of directory entries from a given folder  
Create a list of directory entries from a given folder  
   find /opt/ -type d -printf "%p o=%u g=%g mode=%m\n"
   find /opt/ -type d -printf "%p o=%u g=%g mode=%m\n"

Revision as of 23:52, 9 February 2007

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


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"