Actions
User story #5225
closedAllow to use environment variable from node inventory in directive rudder variables
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Config management
Target version:
Pull Request:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:
Description
In a directive, we are allowed to use rudder parametrized variable, see: http://www.rudder-project.org/foswiki/Development/ContextedVariables
We want to be able to access environment variable value from the node inventory as such variable, with the following semantic:
${rudder.node.env.SOME_VARIABLE} is replaced by:
- "" is the variable does not exist or is empty
- the value of SOME_VARIABLE, considered as a string, as reported in the inventory in the <VAL> tag for the <KEY>SOME_VARIABLE</KEY> tag of an <ENVS>.
For posterity: this ticket was implemented and removed during 3.0 cycle in favor of #5449. A more generic solution will be implemented in #3112
Updated by François ARMAND over 10 years ago
- Pull Request set to https://github.com/Normation/rudder/pull/572
Updated by François ARMAND over 10 years ago
- Status changed from 10 to Pending technical review
- Assignee changed from François ARMAND to Nicolas CHARLES
Updated by François ARMAND over 10 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Updated by François ARMAND over 10 years ago
- Tracker changed from Enhancement to User story
- Parent task deleted (
#3112)
Actions