help-cfengine
[Top][All Lists]
Advanced

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

Re: editfiles template; multiple edits; setting a class on update


From: Atom Powers
Subject: Re: editfiles template; multiple edits; setting a class on update
Date: Sat, 14 Jan 2006 17:11:27 -0800

On 1/14/06, Russell Adams <address@hidden> wrote:
> On Fri, Jan 13, 2006 at 10:33:41PM -0800, Atom Powers wrote:
> > Anyway, I doubt that will work for me; I'm not using m4, make, or
> > (overtly) time stamps.
>
> I think everyone ought to learn m4. It simplifies things immensely.

Perhaps; but I'm having a hard enough time teaching my other SysAdmins
cfengine; adding m4 on top of it (especially when I'm not familuare
mith m4) is another layer that I don't need.

> >
> > Right now the only solution I see is to:
> > 1. checkout the config tree.
> > 2. copy the config tree to a staging area.
> > 3. use editfiles to modify the files in the stage.
> > 4. copy the staging tree into the system and activate a restart as 
> > necessary.
> >
> I don't suppose the service you want to work on supports a service.d
> directory?
>

Most of the services are supported by rc.d (FreeBSD), and for the few
that aren't I'm writing rc.d scripts. I'll have to do some
experimenting with cfengine and see if I can't find a simple solution.

--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--




reply via email to

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