Bug #6389
closed
Enforce file content Technique doesn't properly migrate lines from outside the zone to the zone
Added by Nicolas CHARLES over 9 years ago.
Updated over 9 years ago.
Description
The Technique Enforce a file content allow to edit zones in file, and to migrate lines from outsinde the zone inside the zone (to ensure that we don't have duplicated lines)
However, this does not work as expected as:
- addition of lines are handledline by line (separately)
- migration work on a block of line
So we can end up with duplicated line where we would expect lines to be migrated
The reason behind is that agent handles line insertion on line per line (unless specific parameter is set), but deletion as a block (and there is no modifier:/)
Related issues
1 (1 open — 0 closed)
- Status changed from New to Pending technical review
- Assignee changed from Nicolas CHARLES to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/642
- Reproduced set to No
- Status changed from Pending technical review to In progress
- Assignee changed from Benoît PECCATTE to Nicolas CHARLES
Ha, it seems that there is an issue there...
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Benoît PECCATTE
Ok, everything was fine, it was an issue on the AIX ticket #6396
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-techniques|commit:8c8747f6159705ddce39e4821cc3b523c3d71296.
Applied in changeset rudder-techniques|commit:9d56b14c4de5fee95032a9e3710e06db88ca1c00.
This bug has been fixed in Rudder 2.10.12, 2.11.9 and 3.0.3 which were released today.
- Status changed from Pending release to Released
- Related to User story #6523: Enforce file content Technique doesn't give a choice for type of migration of lines from outside the zone to the zone added
Also available in: Atom
PDF