Actions
Bug #14490
closedIncorrect compliance (missing and unexpected report) when using rudder variable and cfengine variable in value
Status:
Resolved
Priority:
N/A
Assignee:
Category:
Web - Compliance & node report
Target version:
Pull Request:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
No
Description
When using both a Rudder variable, a CFEngine variable and a plain text value in the same directive, i get 1 missing, 1 unexecpted (or two success), and on ok
Reports don't seem to be correctly attributed to the correct value
The report send by the nodes (virtual here) is:
2019-03-19 14:57:12 result_success Configure middleware 01. test variable Enforce content by section /tmp/orchestrateur Dummy report for load test and make it a bit longer, in case of, we never know what could trigger something, you see 2019-03-19 14:57:12 result_success Configure middleware 01. test variable Enforce content by section /tmp/${sys.fqhost} Dummy report for load test and make it a bit longer, in case of, we never know what could trigger something, you see 2019-03-19 14:57:12 result_success Configure middleware 01. test variable Enforce content by section /tmp/RDR-TST-RandHost596.rudder.local Dummy report for load test and make it a bit longer, in case of, we never know what could trigger something, you see
so one cfengine variable not replaced, the rudder variable replaced, and the plain text ok
Files
Actions