[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Editfiles Considered Harmful (was: Re: Complex Editfiles Examples)
From: |
Mark Burgess |
Subject: |
Re: Editfiles Considered Harmful (was: Re: Complex Editfiles Examples) |
Date: |
Thu, 4 Dec 2003 10:24:27 +0100 (MET) |
On 4 Dec, Alexander Jolk wrote:
> Eric Sorenson wrote:
>> Seriously though, I would like to hear any criticism or feedback on
>> the above -- if there's something that just doesn't fit into this
>> model, or maybe some loon^H^H^H^Hfine person who feels as strongly
>> Pro-editfiles as I do Anti-, I'd welcome the dialog.
>
> Very reasonable arguments that you are citing. I have one argument
> *for* editfiles: it makes it very easy to see what has been changed.
> Instead of having a long config file in CVS, which is almost identical
> to the `factory-supplied' one, I can have just two lines detailing
> what I change. But as you say, this only holds if I can be sure of
> the file's previous contents, so my point might be moot.
>
> Alex
>
What cfengine does not protect you from (*especially* with editfiles)
is Occam's Razor. It is always a matter for careful consideration what
is the simplest and therefore more predictable/reliable solution to a
problem.
Sometimes that *is* editfiles. But -- in exactly the same way I treat
huge Perl programs with suspicion -- I would be suspicious of complex
edits. That is not what it was intended for.
However, the bottom line is predictability: how do you ensure that?
If you can guarantee with high probability that a huge editfiles
stanza is predictable - no problem.
Answers are never black and white,
M
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Complex Editfiles Examples, Russell Adams, 2003/12/02
- Re: Complex Editfiles Examples, Jamie Wilkinson, 2003/12/02
- Re: Complex Editfiles Examples, Russell Adams, 2003/12/03
- Re: Complex Editfiles Examples, Jamie Wilkinson, 2003/12/04
- Re: Complex Editfiles Examples, Systems Administrator, 2003/12/04
- Editfiles Considered Harmful (was: Re: Complex Editfiles Examples), Eric Sorenson, 2003/12/04
- Re: Editfiles Considered Harmful (was: Re: Complex Editfiles Examples), Mark Burgess, 2003/12/04
- Re: Editfiles Considered Harmful (was: Re: Complex Editfiles Examples), Luke A. Kanies, 2003/12/04
- Re: [Cfengine] Re: Editfiles Considered Harmful (was: Re: Complex Editfiles Examples), Tjeerd Hes, 2003/12/04
- Re: Editfiles Considered Harmful (was: Re: Complex Editfiles Examples), Alexander Jolk, 2003/12/04
- Re: Editfiles Considered Harmful (was: Re: Complex Editfiles Examples),
Mark Burgess <=
- Re: Editfiles Considered Harmful, Ted Zlatanov, 2003/12/04
- Re: Editfiles Considered Harmful, Chip Seraphine, 2003/12/04
- Re: Editfiles Considered Harmful, Ted Zlatanov, 2003/12/04
- Message not available
- Re: Editfiles Considered Harmful, Rick, 2003/12/08
- Re: Editfiles Considered Harmful, Ted Zlatanov, 2003/12/04
- Re: Editfiles Considered Harmful (was: Re: Complex Editfiles Examples), Chip Seraphine, 2003/12/04
- Re: Editfiles Considered Harmful (was: Re: Complex Editfiles Examples), Eric Sorenson, 2003/12/04
- Re: Editfiles Considered Harmful (was: Re: Complex Editfiles Examples), Luke A. Kanies, 2003/12/04
- Re: Editfiles Considered Harmful (was: Re: Complex Editfiles Examples), Jamie Wilkinson, 2003/12/04
- Re: Editfiles Considered Harmful (was: Re: Complex Editfiles Examples), Jeff Waugh, 2003/12/05