Actions
Bug #2419
closedThe reporting can't handle component key value with CFEngine variables within
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
Web - Compliance & node report
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
If we set in a PI/Directive a Component Key Value with a CFEngine variable, the reporting get confused.
For instance, with the Technique/PT CopyFromSharedFolder, if we set the destination to :
/var/$(genericVariableName.somename)/foo
and $(genericVariableName.somename) is set to "bar", then the agent will report the value /var/bar/foo, but the expected value is still /var/$(genericVariableName.somename)/foo
Note that the example uses the generic variable definition, but it could be a CFEngine system variable (like ${sys.xxx}, ${mon.smth}, ${this.smth}, or even something else)
Note-bis : a CFEngine variable may use ${} or $()
Actions