Bug #6389
closedEnforce file content Technique doesn't properly migrate lines from outside the zone to the zone
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:/)
Updated by Nicolas CHARLES over 9 years ago
- 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
Updated by Nicolas CHARLES over 9 years ago
- 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...
Updated by Nicolas CHARLES over 9 years ago
- 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
Updated by Nicolas CHARLES over 9 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-techniques|commit:8c8747f6159705ddce39e4821cc3b523c3d71296.
Updated by Matthieu CERDA over 9 years ago
Applied in changeset rudder-techniques|commit:9d56b14c4de5fee95032a9e3710e06db88ca1c00.
Updated by Vincent MEMBRÉ over 9 years ago
Updated by Vincent MEMBRÉ over 9 years ago
- Status changed from Pending release to Released
Updated by Nicolas CHARLES over 9 years ago
- 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