help-cfengine
[Top][All Lists]
Advanced

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

Re: Restarting services


From: Tim Nelson
Subject: Re: Restarting services
Date: Fri, 23 Jan 2004 09:51:45 +1100 (EST)

On Thu, 22 Jan 2004 Mark.Burgess@iu.hio.no wrote:

> Shellcommands does support iterators, as in the documentation.

        I'm using them elsewhere for service restarting, and they work
great!  :)

> On 22 Jan, Chip Seraphine wrote:
> > Well, you can use the 'restart' option with a processes: stanza, but I think
> > you are really looking for a way to restart from a list, right?

        Actually, not this time :).  Basically, I'm editing the config
files for these things.  It just occurs to me that I should be using
reload, which I'll do from now on.

> > 'course, so does generating code from a template....

        Well, I do the template thing already, and just edit that.
Basically, cfengine config is the base, but I also have perl code which
generates cfengine config (enclosed in <? ?>), and also HTML
documentation, enclosed in:
=cfdoc start
=cfdoc end
        So the documentation is interwoven with the config.  Coolish, eh?

        :)


--
Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: sysadmin@sunet.com.au






reply via email to

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