help-cfengine
[Top][All Lists]
Advanced

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

Re: problem with AppendIfNoLineMatching


From: Frank Smith
Subject: Re: problem with AppendIfNoLineMatching
Date: Fri, 16 Jul 2004 13:49:16 -0500

--On Friday, July 16, 2004 18:14:24 +0200 Alexander Jolk <alexj@buf.com> wrote:

> Frank Smith wrote:
>>  myclass::
>>   { /etc/inetd.conf
>>   SetLine "amanda  dgram   udp     wait    backup  
>> /usr/local/libexec/amandad amandad"
>>   AppendIfNoLineMatching "^amanda*"
>>   DefineClasses "NEEDS_INETD_RESTART"
>>   }
> 
> You want
>       AppendIfNoLineMatching "^amanda.*"

That worked.  I must have had shell wildcards instead of
regexp stuck in my brain.

Thanks,
Frank
> 
> -- 
> Alexander Jolk         /         BUF Compagnie
> tel +33-1 42 68 18 28 /  fax +33-1 42 68 18 29



-- 
Frank Smith                                      fsmith@hoovers.com
Sr. Systems Administrator                       Voice: 512-374-4673
Hoover's Online                                   Fax: 512-374-4501





reply via email to

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