help-cfengine
[Top][All Lists]
Advanced

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

Re: Bootstrapping


From: Chip Seraphine
Subject: Re: Bootstrapping
Date: Fri, 20 Feb 2004 07:59:08 -0600
User-agent: KMail/1.5

On Thursday 19 February 2004 16:49, Jamie Wilkinson wrote:
> This one time, at band camp, Chip Seraphine wrote:
> >On Wednesday 18 February 2004 16:56, Luke A. Kanies wrote:
> >> So, as to 'correctly updating':  If a client can successfully copy
> >> _anything_ is it working?  What about if it's just running cfagent at 
all?
> >> What if it has some errors, such as being incapable of starting a 
process?
> >
> >I have my cfagents dump their $(allclasses) variable, suitably 
reformatted, 
> >into a file at the very end of each run.  This is useful for seeing 'what 
> >happened' and such.
> 
> Please, some example script? :-)

Do you mean of the variable dumping or the post-game analysis?  The former 
is pretty simple, the latter is very highly localized... so I'll assume you 
meant the former.  :-)

The last thing (theoreticallly, anyway) my cfagent.conf does is import a 
file called cf.finish.  Cf.finish does some tidy tasks, including:

shellcommands:
        "/bin/echo '$(allclasses)' | cut -d= -f2- | tr ':' '\n' > 
/var/cfengine/log/classes.last"






reply via email to

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