Cfengine: Difference between revisions
From DWIKI
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 11: | Line 11: | ||
|- | |- | ||
| [http://sial.org/howto/cfengine/ http://sial.org/howto/cfengine/] || A cfengine howto | | [http://sial.org/howto/cfengine/ http://sial.org/howto/cfengine/] || A cfengine howto | ||
|- | |||
| [http://cfwiki.org/cfwiki/index.php/Main_Page http://cfwiki.org/cfwiki/index.php/Main_Page] || CFengine Wiki | |||
|} | |} | ||
= cfengine commandline tips = | |||
== cfagent use == | |||
Run an '''update''' of the configuration files '''now''' | Run an '''update''' of the configuration files '''now''' | ||
Line 31: | Line 32: | ||
cfagent -pv | cfagent -pv | ||
== 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" |
Latest revision as of 09:18, 19 April 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 |
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"