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
User story #20162:
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.
Actions