Project

General

Profile

Bug #6389

Enforce file content Technique doesn't properly migrate lines from outside the zone to the zone

Added by Nicolas CHARLES about 5 years ago. Updated almost 5 years ago.

Status:
Released
Priority:
N/A
Category:
Techniques
Target version:
Severity:
User visibility:
Effort required:
Priority:

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

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

Related issues

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
#1

Updated by Nicolas CHARLES about 5 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
#2

Updated by Nicolas CHARLES about 5 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...

#3

Updated by Nicolas CHARLES about 5 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

#4

Updated by Nicolas CHARLES about 5 years ago

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

Applied in changeset rudder-techniques|commit:8c8747f6159705ddce39e4821cc3b523c3d71296.

#5

Updated by Matthieu CERDA about 5 years ago

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

#6

Updated by Vincent MEMBRÉ about 5 years ago

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

#7

Updated by Vincent MEMBRÉ about 5 years ago

  • Status changed from Pending release to Released
#8

Updated by Nicolas CHARLES about 5 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

Also available in: Atom PDF