User story #4199
closedAddition of "Technique with values" in Rudder - ncf integration
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).