Project

General

Profile

Actions

Bug #2419

closed

The reporting can't handle component key value with CFEngine variables within

Added by Nicolas CHARLES over 12 years ago. Updated about 12 years ago.

Status:
Released
Priority:
1
Category:
Web - Compliance & node report
Target version:
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

Also available in: Atom PDF