help-cfengine
[Top][All Lists]
Advanced

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

Re: cfengine, debconf and ldap [now editfiles]


From: Brendan Strejcek
Subject: Re: cfengine, debconf and ldap [now editfiles]
Date: Sun, 4 Dec 2005 17:43:38 -0600
User-agent: Mutt/1.5.6+20040818i

Steve Wray wrote:

> The set of trivial things for editfiles to do turns out to be pretty
> small!

Disagree. Here are a few counterexamples:

    DeleteLinesStarting "foo="
    AppendIfNoSuchLine "# The reason for setting foo to bar is ..."
    AppendIfNoSuchLine "foo=bar"
    PrependIfNoSuchLine "# Edited by cfengine"

    AutoCreate
    EmptyEntireFilePlease
    InsertFile "file.header"
    InsertFile "file.${fqhost}"
    InsertFile "file.footer"

However, more than the rest of cfengine, editfiles allows you to shoot
yourself in the foot. What we need is a cfengine 2 editfiles style
guide.

Best,
Brendan

--
Senior System Administrator
The University of Chicago
Department of Computer Science

http://www.cs.uchicago.edu/people/brendan
http://people.cs.uchicago.edu/~brendan




reply via email to

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