[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with cfengine architecture
From: |
Mark Burgess |
Subject: |
Re: Help with cfengine architecture |
Date: |
Sat, 09 Dec 2006 21:10:48 +0100 |
User-agent: |
Thunderbird 1.5.0.8 (X11/20060911) |
Perhaps use of methods is the answer?
http://www.cfengine.org/docs/cfengine-Reference.html#methods
http://www.cfengine.org/confdir/backup.html
Zeev Fisher wrote:
> 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
--
Mark Burgess
Professor of Network and System Administration
Oslo University College
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~