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

 

 

 

 

 

 

_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to