Project

General

Profile

Actions

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.

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:/)


Subtasks 1 (0 open1 closed)

Bug #6978: Enforce file content Technique doesn't properly migrate lines from outside the zone to the zone (branch 3.0)ReleasedBenoît PECCATTE2015-07-10Actions

Related issues 1 (1 open0 closed)

Related to Rudder - User story #6523: Enforce file content Technique doesn't give a choice for type of migration of lines from outside the zone to the zoneNewActions
Actions #1

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

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...

Actions #3

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

Actions #4

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.

Actions #5

Updated by Matthieu CERDA over 9 years ago

Applied in changeset rudder-techniques|commit:9d56b14c4de5fee95032a9e3710e06db88ca1c00.

Actions #6

Updated by Vincent MEMBRÉ over 9 years ago

This bug has been fixed in Rudder 2.10.12, 2.11.9 and 3.0.3 which were released today.

Actions #7

Updated by Vincent MEMBRÉ over 9 years ago

  • Status changed from Pending release to Released
Actions #8

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
Actions

Also available in: Atom PDF