User story #5449
closedMake environment variables accessible as parameter in all Techniques
Description
The Rudder variable are replaced by Rudder in the Tehcnique
However, it is agnostic of the ncf, so it cannot replace it there
We could greatly benefit from having an easy solution to gather the env variable from the node and use them directly
Updated by Nicolas CHARLES over 10 years ago
A first idea is to use a module that would read the env variables, but in a standart technique, we would have no proof that it is run first (unless in system technique)
so let's start, for a poc, with a bundle common
Updated by Nicolas CHARLES over 10 years ago
a poc can be found there https://github.com/ncharles/rudder-techniques/tree/ust_5449/poc/env_variable
Updated by Nicolas CHARLES over 10 years ago
A pull request is there for this poc
https://github.com/Normation/rudder-techniques/pull/507
Updated by Nicolas CHARLES about 10 years ago
ok, it's been decided to use ${node.env[ENV]} notation
Updated by Nicolas CHARLES about 10 years ago
- Subject changed from Environment variable defined with Rudder special variable ${rudder.node.end.xxx} cannot be used within ncf to Give access to the node system variable via ${node.env[ENV]}
Updated by Matthieu CERDA about 10 years ago
- Target version changed from 140 to 3.0.0~beta1
Updated by Jonathan CLARKE about 10 years ago
- Status changed from New to Discussion
Updated by Jonathan CLARKE about 10 years ago
- Status changed from Discussion to 12
Updated by Jonathan CLARKE about 10 years ago
- Status changed from 12 to Pending release
Updated by Vincent MEMBRÉ about 10 years ago
- Category changed from System integration to 14
Updated by Vincent MEMBRÉ about 10 years ago
- Subject changed from Give access to the node system variable via ${node.env[ENV]} to Make environment variabla accessible as parameter in all Techniques
Updated by Vincent MEMBRÉ about 10 years ago
- Subject changed from Make environment variabla accessible as parameter in all Techniques to Make environment variables accessible as parameter in all Techniques
Updated by Vincent MEMBRÉ about 10 years ago
- Project changed from Rudder to 24
- Category deleted (
14)
Updated by Vincent MEMBRÉ about 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.0.0~beta1 which was release on 01/12/2014.
- Announcement
- Changelog
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by Benoît PECCATTE almost 10 years ago
- Project changed from 24 to Rudder
- Category set to Techniques