gnu.cfengine.help
  Home FAQ Contact Sign in
gnu.cfengine.help only
 
Advanced search
May 2008
motuwethfrsasuw
   1234 18
567891011 19
12131415161718 20
19202122232425 21
262728293031  22
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
gnu.cfengine.help Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  ReplaceAll         


Author: SimonB
Date: May 8, 2008 04:26

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.
no comments