Bug #15029
closed
It's not possible to use $(match.o) anymore in directives/techniques
Added by Nicolas CHARLES over 5 years ago.
Updated about 5 years ago.
Description
Trying to use ${match.x} in check generic file content for line replacement
Agent replaced the line with empty text, because it didn't detect the replacement variable as defined (replace_lines_destination_defined is not defined)
so it replaces with empty text
- Target version changed from 5.0.12 to 5.0.13
Note: The file_lines_replace method works as a workaround.
- Category changed from Agent to Techniques
As the method work, it is problably not an agent problem, but a bug in the technique.
- Status changed from New to In progress
- Assignee set to Félix DALLIDET
- Status changed from In progress to Pending technical review
- Assignee changed from Félix DALLIDET to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/1460
- Status changed from Pending technical review to Pending release
- Status changed from Pending release to Released
This bug has been fixed in Rudder 5.0.13 which was released today.
Also available in: Atom
PDF