Bug #19431
closed
Invalid reporting in file content technique
Added by Nicolas CHARLES over 3 years ago.
Updated over 3 years ago.
Description
If we enable line deletion, with a regex matching the line we add, then the directive pretends that the file was ok even if not, and misses the report about line deletion
Half of the bug (no report on deletion) is that we define class file_content_deletion and use for reporting content_deletion
Other half is that we have already the line we want in the file, so we define file_content_${index}_success, and SOMEHOW it is used to say that it is compliant
- Status changed from New to In progress
- 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/1674
- Status changed from Pending technical review to Pending release
- Fix check changed from To do to Checked
- 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.
Also available in: Atom
PDF