Project

General

Profile

Actions

User story #11749

closed

Add logic to generate ncf Technique files into Rudder

Added by Vincent MEMBRÉ about 7 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
API
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

As of 4.2.2, ncf technique files are managed by logic from different files from /usr/share/ncf/tools (ncf.py, ncf_rudder.py, ncf_dsc.py)

We want to move the logic to generate those files from ncf to Rudder to provide Rudder features inside the techniques (ie: properties translation to dsc, global parameters, inventory, js eval ...)

We should create a new API endpoint to manage ncf Techniques.

First operation is to create a new technique from scratch and create its PS1 file for dsc if needed.

Maybe the dsc logic should be done in the adequate plugin


Subtasks 5 (0 open5 closed)

User story #11770: Call rudder api once a techniques is saved successfully from ncf apiReleasedFrançois ARMANDActions
User story #11771: Add a flag to regenerate all techniques on rudder webapp restartReleasedFrançois ARMANDActions
Architecture #11772: Remove all dsc / metadata logic from ncf ReleasedFrançois ARMANDActions
Bug #11833: rudder_reporting is added in metadata.xml if all condition are anyReleasedFrançois ARMANDActions
Bug #11850: dsc methods parameters do not have a dash between words like cfengine one who have underscore ReleasedFrançois ARMANDActions

Related issues 3 (0 open3 closed)

Related to Rudder - Bug #11445: Node properties syntax is not the same for Windows agentReleasedFrançois ARMANDActions
Related to Rudder - Bug #12010: Reload of techniques after update throught technique editor should only be done by Rudder, remove reload.sh hookReleasedVincent MEMBRÉActions
Related to Rudder - User story #11783: Add logic to generate ncf Technique files into RudderReleasedVincent MEMBRÉActions
Actions

Also available in: Atom PDF