[Top][All Lists]

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

Re: Use of editfile to support templated configuration files

From: Russell Adams
Subject: Re: Use of editfile to support templated configuration files
Date: Tue, 14 Dec 2004 17:32:48 -0600
User-agent: Mutt/

I was going to suggest you read Eric's take on editfiles first. ;]

I do agree with him on most of the editfiles issues, however, so long
as I can guarantee the contents, I'll still use editfiles as I
outlined in:


This means that I don't have to use the copy facility, and I can use
editfiles to do the templating and easily combine text from several

I did like Single Copy Nirvana too, which very closely fits one of
your potential configurations. If you can use copy, I'd strongly
suggest you consider it.

Kudos Eric. ;]


On Tue, Dec 14, 2004 at 03:05:42PM -0800, Eric Sorenson wrote:
> On Tue, 14 Dec 2004 address@hidden wrote:
> >Alternatively, I'd like to somehow be able to specify a hierarchy of
> >host groups, and have cfengine choose the file at the lowest level for
> >which a  version of the file exists. This would be pretty easily done
> >using an external module. But, I'd prefer to avoid external modules for
> >now and I don't see how to manage such a hierarchy concisely using
> >cfengine scripts.
> I wrote up the way I accomplish this just the other day, it does precisely
> what you describe without external modules.
> Please let me know if the documentation is confusing or unclear, either
> via email or on the 'discussion' link on the wiki page itself.
> -- 
>   - Eric Sorenson - Explosive Networking - -
> _______________________________________________
> Help-cfengine mailing list
> address@hidden

reply via email to

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