empty string in replace editfiles not working
Bug #219219 reported by
Andy Wettstein
This bug report is a duplicate of:
Bug #219231: cfengine editfiles empty string problem.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cfengine2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cfengine2
I have some editfiles configuration in cfengine that replaces a string with an empty string. Something like this:
ReplaceFirst "^#$(group)
Upgrading to hardy and using cfengine 2.2.3, this no longer works with this error:
ReplaceAll/With mismatch before or at line
The changelog for cfengine 2.2.4 has this entry:
Bugfix for empty strings in editfiles
I built and installed cfengine 2.2.5 using the debian source package on hardy and the error is gone.
To post a comment you must log in.