[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Unknown edit action "BeginGroupIfLineMatching"
From: |
bern |
Subject: |
Unknown edit action "BeginGroupIfLineMatching" |
Date: |
18 Jan 2006 11:01:33 -0800 |
User-agent: |
G2/0.2 |
Is that true there is no "BeginGroupIfLineMatching" edit action? It
is in the documentation.
Here is the output of the cfrun command:
cf:cfengine::/var/cfengine/inputs/cf.fstab:6: Unknown edit action
"BeginGroupIfLineMatching"
cf:cfengine::/var/cfengine/inputs/cf.fstab:11: EndGroup without Begin
cf:cfengine::/var/cfengine/inputs/cf.fstab:12: Editfiles Begin/End
mismatch before or at line
And here the output of my configuration file:
control:
actionsequence = ( editfiles )
editfiles:
{ /etc/fstab
BeginGroupIfLineMatching "^[[:blank:]]prdcvs02"
DeleteLinesContaining "^[[:blank:]]prdcvs02"
LocateLineMatching "^[[:blank:]]/dev/vpath"
IncrementPointer "-1"
InsertLine "prdcvs02:/usr/softwares /mnt/softwares nfs
bg,ro,noauto 0 0"
EndGroup
}
Did I do something wrong?
TIA,
Bern
- Unknown edit action "BeginGroupIfLineMatching",
bern <=