Project

General

Profile

Actions

Bug #6978

closed

Bug #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)

Added by Nicolas CHARLES over 9 years ago. Updated over 9 years ago.

Status:
Released
Priority:
N/A
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

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)

Actions #1

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
Actions #2

Updated by Benoît PECCATTE over 9 years ago

  • Parent task set to #6389
Actions #3

Updated by Nicolas CHARLES over 9 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #5

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.

Actions

Also available in: Atom PDF