Project

General

Profile

Actions

User story #4199

closed

Addition of "Technique with values" in Rudder - ncf integration

Added by François ARMAND over 10 years ago. Updated about 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

We want to add the possiblity to integrate ncf generic methods as building blocks for Rudder Techniques.

In that approach, a Technique is "just" a standard CFEngine promise built from generic_methods. Then, some scripts allows to generate the Technique metadata with a new "exepected reports" CSV file.

The generated Technique metadata is an extension from current Technique in two way:

- it has a marker saying that the CSV file is provided for reporting, allowing to bypass some current limitations about reporting (several multi-valued section allowed)
- it has a new type of variable, PREDEFVAL, that allows to directly pass a predefined value or list of values in the variable specification.

Moreover, for directives based on such Technique, the expectedReport datatable filling must be completed by the modification of the provided CSV file, adding missing information into the template (Rule UUID and serial, directive UUID).


Subtasks 6 (0 open6 closed)

User story #4200: Add PREDEF variable type and ProvideCsvReportTemplate in metadata.xmlReleasedFrançois ARMAND2013-11-28Actions
User story #4201: Adapt expected reports generation to use provided expected report CSV templateReleasedNicolas CHARLES2013-11-28Actions
User story #4203: Adapt the writing of expected report in the database to the new dataReleasedNicolas CHARLES2013-11-29Actions
User story #4204: Don't allow changes in the variables values for meta techniqueReleased2013-11-30Actions
User story #4245: Initialise /var/rudder/ncf/common on initial webapp install/upgrade to avoid CFEngine missing stdlibReleasedJonathan CLARKE2013-12-11Actions
User story #4246: Include ncf input files in Rudder's CFEngine promisesReleasedMatthieu CERDA2013-12-11Actions

Related issues 1 (0 open1 closed)

Related to Rudder - User story #4202: Update documentation about TechniqueXML with new elements RejectedAlexis Mousset2013-11-29Actions
Actions

Also available in: Atom PDF