Project

General

Profile

Actions

Bug #19445

closed

File content always reports repair when "Replace content" is selected

Added by Nicolas CHARLES about 1 year ago. Updated 12 months ago.

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

Description

When replace content is set, agent starts from a blank state - so every line added is seen as a repair. For some reason (since at least 2.6) we use the line added as a condition for global kept/repair state, even if we have a stronger kept/repair state (with the global state)
so we should not use the file content section as a marker for global state

Actions #2

Updated by Nicolas CHARLES about 1 year ago

  • Status changed from New to In progress
Actions #3

Updated by Nicolas CHARLES about 1 year ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1676
Actions #4

Updated by Nicolas CHARLES about 1 year ago

  • Status changed from Pending technical review to Pending release
Actions #6

Updated by Vincent MEMBRÉ 12 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.1.14 and 6.2.8 which were released today.

Actions

Also available in: Atom PDF