Project

General

Profile

Actions

Bug #17896

closed

Node property used in another node property not expanded during generation

Added by François ARMAND over 4 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
Web - Config management
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
43
Name check:
To do
Fix check:
To do
Regression:

Description

If we have these node properties:

extension = ".txt" 
file = "/some/file${node.properties[extension]}" 

And use the second in motd for example:

Look at  '${node.properties[file]}'

Then, in /var/rudder/share/6ce91c4b-07aa-44e6-9431-3262094271b0/rules/cfengine-community/motdConfiguration/3.3/config.cf we have :

string => "Look at: '/some/file${node.properties[extension]}'";

In place of a fully expended string.

Should not be correct befoare 6.1 because of all the changes in parser/overload/etc that happened in that release.

Actions

Also available in: Atom PDF