help-cfengine
[Top][All Lists]
Advanced

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

Re: need some ideas concerning cfengine


From: Mark . Burgess
Subject: Re: need some ideas concerning cfengine
Date: Thu, 4 Oct 2001 07:53:16 +0200 (MET DST)

On  3 Oct, Hermann Biller wrote:
> dear cfengine community,
> 
> i'ld like to use cfengine for the following purpose:
> 
> part 1: detect changes in defined files
> e.q.
> all_machines: ( all_suns all_hps all_linux )
> all_machines.checkfiles: ( /etc/hosts /etc/resolv.conf ... )
> all_suns.checkfiles: ( /etc/vfstab /etc/dfs/dfstab ... )
> on each host these files could be different. 
> a change of content should be found out by checksum.
> a change of permissions should also be monitored.
> in case of a change a duty system administrator should be mailed.
> 
> part 2: reconfigure defined files
> just do a cfengine job like append a line in /etc/services
> if a change was done by a cfengine script the system should recognize
> that it is a desired change and not inform the sysadmin about this change
> 
> part 3: log all changes of cfengine scripts in a cvs database
> (trivial but neccessary)
> 
> is this plan realizable with cfengine? any recommendations?
> 
> thanks for help,
> hermann
> 

These are all trivially acoomplished except for the last one.
I'm not sure exactly what you mean, -- you mean your own changes
to the config or the changes to /etc/services etc..? If you
come to LISA2001  there is a paper about a front-end to cfengine
which uses a CVS repository / database things.

Recommendations - if you're starting up now, make sure you use
cfengine 2.0.a14 or later. It will save you lots of time
later.

Mark

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

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