Project

General

Profile

Actions

User story #11749

closed

Add logic to generate ncf Technique files into Rudder

Added by Vincent MEMBRÉ about 5 years ago. Updated 9 months ago.

Status:
Released
Priority:
N/A
Category:
API
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
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 #1

Updated by Vincent MEMBRÉ about 5 years ago

  • Related to Bug #11445: Node properties syntax is not the same for Windows agent added
Actions #2

Updated by Vincent MEMBRÉ about 5 years ago

  • Status changed from New to In progress
Actions #3

Updated by Vincent MEMBRÉ about 5 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/1784
Actions #4

Updated by Vincent MEMBRÉ about 5 years ago

  • Subject changed from Add ncf logic to create file into Rudder instead of ncf to Add logic to generate ncf Technique files into Rudder
Actions #5

Updated by Vincent MEMBRÉ about 5 years ago

  • Description updated (diff)
Actions #6

Updated by Vincent MEMBRÉ about 5 years ago

  • Status changed from Pending technical review to Pending release
Actions #8

Updated by Vincent MEMBRÉ about 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.2.3 which was released today.

Actions #9

Updated by Vincent MEMBRÉ about 5 years ago

  • Related to Bug #12010: Reload of techniques after update throught technique editor should only be done by Rudder, remove reload.sh hook added
Actions #10

Updated by Vincent MEMBRÉ about 5 years ago

  • Related to User story #11783: Add logic to generate ncf Technique files into Rudder added
Actions

Also available in: Atom PDF