Bug #11071
closed
Generated technique name for dsc technique in rudder-directives.ps1 contains forbiden chars
Added by Nicolas CHARLES over 7 years ago.
Updated over 7 years ago.
Severity:
Major - prevents use of part of Rudder | no simple workaround
Description
We generate technique name with / in it, which is invalid: it prevents the reports from being insered in database
So we should either:
- update the rsyslog rule to autorize / in technique name
- update the name to not use / in it
editing rudder-directives.ps1 to remove the / in it fixes the reporting
- Status changed from New to In progress
- Assignee set to François ARMAND
rsyslog rule is [ a-zA-Z0-9_\-]+?
- Subject changed from Generated technique name for dsc technique in rudder-directives.ps1 is invalid to Generated technique name for dsc technique in rudder-directives.ps1 contains forbiden chars
OK, so I really don't want to code a generic "utf-8 to ascci" algo for now, I propose to use the technique ID (the one "normalized" by technique editor, used in the Technique directory name, and add the full name as a comment at the end of the line.
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder/pull/1690
- Status changed from Pending technical review to Pending release
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.2.0~beta2 which was released today.
Also available in: Atom
PDF