| Subject: | ReplaceAll |
|---|---|
| From: | SimonB <barrett.simon@xxxxxxxxx> |
| Date: | Thu, 8 May 2008 04:26:29 -0700 (PDT) |
| Newsgroups: | gnu.cfengine.help |
I've seen a number of postings related to ReplaceAll and can't quite
understand how it is supposed to work.
I have the following editfiles statement:
{ /etc/default/autofs
ReplaceAll '#AUTOMOUNT_TIMEOUT=600' With
'AUTOMOUNT_TIMEOUT=86400'
}
I get the following output:
ntgwpms001# cfagent -qK
BRSCFE: WARNING: Non-convergent edit operation ReplaceAll
[#AUTOMOUNT_TIMEOUT=600] With [AUTOMOUNT_TIMEOUT=86400]
BRSCFE: Line begins [#AUTOMOUNT_TIMEOUT=600]
BRSCFE: Replacement matches search string and will thus replace every
time - edit was not done
BRSCFE: Error editing file /etc/default/autofs
I try other quotes "" but get the same error. Can anyone point out
what I am doing wrong here?
Thanks
I'm running Version 2.2.3.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: File distribution with symlinks and 'type=checksum', Lamech2 |
|---|---|
| Next by Date: | Compiling on Tru64/alpha, Thomas Rasmussen |
| Previous by Thread: | Re: File distribution with symlinks and 'type=checksum', Lamech2 |
| Next by Thread: | Compiling on Tru64/alpha, Thomas Rasmussen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |