Actions
User story #20162
closedUser story #20130: rudder language generate_lib should use the existing ncf python library instead of implement itself the ncf methods parsing
The dsc based methods are not properly parsed
Effort required:
Name check:
To do
Fix check:
To do
Regression:
Description
root@server:~# /opt/rudder/share/language/tools/generate_lib | jq '.data.dsc.states[0]' { "class_parameter": "MOFFile", "class_parameter_id": 0, "class_prefix": "dsc_apply", "deprecated": "", "description": "Ensure that all MOF files under MOFFile are applied via DSC.", "documentation": "Ensure that all MOF files contained under the target folder are applied via DSC\non the target node.", "method": "dsc_apply", "name": "DSC Apply", "parameters": [], "resource": "dsc", "resource_parameters": [ { "constraints": {}, "description": "Path to the mof that need to be applied", "name": "MOFFile", "type": "string" } ], "source_file": "/var/rudder/configuration-repository/ncf/30_generic_methods/dsc_apply.cf", "state": "apply", "supported_agents": [] }
The supported_agents field is always empty for those methods.
Updated by Félix DALLIDET about 3 years ago
- Status changed from New to In progress
- Assignee set to Félix DALLIDET
Updated by Félix DALLIDET about 3 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Félix DALLIDET to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/rudder/pull/3953
Updated by Félix DALLIDET about 3 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|a20de9b6124144f643a356d1769d254ef3522b35.
Updated by Vincent MEMBRÉ about 3 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.0.0~beta2 which was released today.
Actions