Project

General

Profile

Actions

Bug #6237

closed

Wrong reporting in Technique Enforce a file content if the file is not present

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

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

Description

If we try to simply to regexp replacement on non existing file, the reporting is absent on compontent File and Line replacement Regular expressions, as well as Post modification hook if one was defined
In version 5.0 and 6.0


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #6238: Wrong reporting in Technique Enforce a file content if the file is not present - Branch 3.0ReleasedMatthieu CERDA2015-02-08Actions
Actions #1

Updated by Nicolas CHARLES almost 10 years ago

the right solution here would be to detect if the file is there or not, and if not, and not planned to create it, then simply skip edition and report N/A

Actions #2

Updated by Nicolas CHARLES almost 10 years ago

  • Status changed from New to Pending technical review
  • Assignee set to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/634
Actions #3

Updated by Nicolas CHARLES almost 10 years ago

  • Assignee changed from Benoît PECCATTE to Matthieu CERDA
Actions #4

Updated by Nicolas CHARLES almost 10 years ago

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

Applied in changeset policy-templates:commit:8d0c76c13a08eef7b8ead9afcd9cae5de5236c7f.

Actions #5

Updated by Matthieu CERDA almost 10 years ago

Applied in changeset policy-templates:commit:596b9d0a60cb0e4f7be68317801ae8264ee40e7b.

Actions #6

Updated by Vincent MEMBRÉ over 9 years ago

  • Subject changed from Wrong reporting in Tehcnique Enforce a file content if the file is not present to Wrong reporting in Technique Enforce a file content if the file is not present
Actions #7

Updated by Vincent MEMBRÉ over 9 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.11, 2.11.8 and 3.0.2 which were released today.

Actions

Also available in: Atom PDF