User story #3367
closed
User story #3349: Add global parameters that can be used in Directives
Add the logic into cf-clerk to write parameters within the promises
Added by Nicolas CHARLES over 11 years ago.
Updated over 9 years ago.
Category:
Web - Config management
Description
To complete #3350, we need to have facilities in cf-clerk to write parameter into promises
- Status changed from In progress to 10
- Assignee changed from Nicolas CHARLES to Jonathan CLARKE
The Variable RUDDER_PARAMETERS_VARIABLE contains the list of all the Parameters, with the following accessors :
- parameterName : the name of the parameter
- parameterValue : the value of the parameter (escaped)
- unescapedValue : the raw value of the parameter
The escaping replaces " by \", and \ by \\
- Target version changed from 2.6.0~beta1 to 2.6.0~rc1
- Target version changed from 2.6.0~rc1 to 2.7.0~beta1
All the parameters should go in a
rudder_parameters.cf file
with a bundle common rudder_parameters
We should have a default parameter : rudder_file_edit_header that contains the warning we usually use
This parameters should be used by default in all edition, rather than the hard coded text
The Variable RUDDER_PARAMETERS contains the list of all the Parameters, with the following accessors :
parameterName : the name of the parameter
escapedValue : the value of the parameter (escaped)
unescapedValue : the raw value of the parameter
The escaping replaces " by \", and \ by \\
- Status changed from 10 to Pending technical review
- Assignee changed from Jonathan CLARKE to François ARMAND
- Pull Request set to https://github.com/Normation/cf-clerk/pull/12
- % Done changed from 0 to 100
- Status changed from Pending technical review to 12
- Status changed from 12 to Pending release
Applied in changeset clerk:commit:95e64ba4801b62765f66fd744b5d2316e3d1b0f2.
- Status changed from Pending release to Released
- Category changed from 14 to Web - Config management
- Tracker changed from Enhancement to User story
Also available in: Atom
PDF