Bug #6978
closedBug #6389: Enforce file content Technique doesn't properly migrate lines from outside the zone to the zone
Enforce file content Technique doesn't properly migrate lines from outside the zone to the zone (branch 3.0)
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:/)
(same ticket as #6389 but for branch 3.0)
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
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/720
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|497d4642b03a06206b6af25d7b6dcead34a59963.
Updated by Benoît PECCATTE over 9 years ago
Applied in changeset rudder-techniques|3e80e73d8dbbb0f2964d2e9e5fc3ab169061ee08.
Updated by François ARMAND over 9 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.0.8 and 3.1.1 which were released today.
- 3.0 3.1
- 3.0 3.1
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/