help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help with cfengine architecture


From: Zeev Fisher
Subject: Help with cfengine architecture
Date: Sat, 9 Dec 2006 21:53:25 +0200

Hi cfengine users,

 

I need your advice.

 

I’m a veteran user of cfengine.  When all machines are the same there’s no problem with current cfengine config method ,but when there are differences, I find myself mess with lots of excludes.  This leads to confusions.

 

I need to setup cfengine in new site and this time I would like to achieve the following in order to overcome the problem above:

 

There will be hierarchical tree which include all possible options for matching machines. The top level is the site name , then os , os version down to the machine name ( optional . The tree can stop in each level according to relevant needs). Each level will also have “All” level which include all machine in this level. For example:

 

All

London

Paris

TelAviv/All

           Linux/All

                   RHEL/All

                            3/All

                               Hostname

                            4

                   SuSE

           Solaris/All

                      8/

                      9

                      10

 

 

Each level will include cfengine files. Their names will identify their purpose. For example : cf.dns or cf.sendmail

 

Cfengine agent will be able to determine in which level the machine reside and according to it import all relevant files.

 

I know that it might be possible to prepare some pre script which identify all relevant files in the tree and prepare every time input file for cfagent but any idea how to implement this without external script will be appreciated.

 

Also, you are welcome of course to comment on this method.

 

 

 

Thanks

Zeev

 

 

 

 

 

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]