Project

General

Profile

Actions

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.

Status:
Released
Priority:
2
Category:
Web - Config management
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

To complete #3350, we need to have facilities in cf-clerk to write parameter into promises

Actions #2

Updated by Nicolas CHARLES over 11 years ago

  • 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 \\

Actions #3

Updated by Nicolas PERRON over 11 years ago

  • Target version changed from 2.6.0~beta1 to 2.6.0~rc1
Actions #4

Updated by François ARMAND over 11 years ago

  • Target version changed from 2.6.0~rc1 to 2.7.0~beta1
Actions #5

Updated by Nicolas CHARLES over 11 years ago

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

Actions #6

Updated by Nicolas CHARLES over 11 years ago

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 \\

Actions #7

Updated by Nicolas CHARLES over 11 years ago

  • 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
Actions #8

Updated by Nicolas CHARLES over 11 years ago

  • % Done changed from 0 to 100
Actions #9

Updated by François ARMAND over 11 years ago

  • Status changed from Pending technical review to 12
Actions #10

Updated by Nicolas CHARLES over 11 years ago

  • Status changed from 12 to Pending release

Applied in changeset clerk:commit:95e64ba4801b62765f66fd744b5d2316e3d1b0f2.

Actions #11

Updated by Nicolas PERRON over 11 years ago

  • Status changed from Pending release to Released
Actions #12

Updated by Benoît PECCATTE over 9 years ago

  • Category changed from 14 to Web - Config management
Actions #13

Updated by Benoît PECCATTE over 9 years ago

  • Tracker changed from Enhancement to User story
Actions

Also available in: Atom PDF