Project

General

Profile

Actions

Bug #5711

closed

User story #5673: Add support to parameters in ncf techniques written with ncf builder

User story #5665: Generate technique with parameter from ncf

metadata.xml is considered malformed if it contains reportkeys and componentkey

Added by Benoît PECCATTE over 9 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
-
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

In metadata.xml if we put a <SECTION> element with a componentKey attribute and a <REPORTKEYS> sub-element we get the following error :

[2014-10-29 15:54:02] ERROR com.normation.cfclerk.services.impl.GitTechniqueReader - Ignoring technique '/ncf_techniques/Test_BPE/1.4/metadata.xml' because the descriptor file is malformed. Error message was: Section 'Service restart' has a defined component key and defined reports key elements.

If this example has no use with some rudder techniques, it is a valid use case when considering ncf techniques with multiple calls to the same method.
So this should be allowed.

Actions #1

Updated by Benoît PECCATTE over 9 years ago

This may not be a bug.
We'll decide after talking about reporting description in ncf techniques.

Actions #2

Updated by Benoît PECCATTE over 9 years ago

  • Status changed from New to Rejected

Replaced by #5721

Actions

Also available in: Atom PDF