help-cfengine
[Top][All Lists]
Advanced

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

Re: editfiles


From: Brendan Strejcek
Subject: Re: editfiles
Date: Mon, 19 Apr 2004 17:26:41 -0500
User-agent: Mutt/1.3.28i

David Kewley wrote:

> Brendan Strejcek wrote on Monday 19 April 2004 13:41:
> > David Kewley wrote:
> > >   HashCommentLinesMatching "[^#]*StrictModes.*$"
> > >   AppendIfNoSuchLine "StrictModes no"
> >
> > Not good:
> ...
> > You might need to do log rotation on your config files...
> 
> How about this then? :)
> 
>       DeletetLinesMatching "[^#]*StrictModes.*$"
>       AppendIfNoSuchLine "StrictModes no"

Still suboptimal. If you have contingent actions (such as restarting
sshd) your classes defined with DefineClasses will always fire.




reply via email to

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