Project

General

Profile

User story #11749

Add logic to generate ncf Technique files into Rudder

Added by Vincent MEMBRÉ 2 months ago. Updated about 1 month ago.

Status:
Released
Priority:
N/A
Category:
API
Target version:
Target version (plugin):
Suggestion strength:
User visibility:
Effort required:

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

ncf - User story #11770: Call rudder api once a techniques is saved successfully from ncf apiReleasedFrançois ARMAND

User story #11771: Add a flag to regenerate all techniques on rudder webapp restartReleasedFrançois ARMAND

ncf - Architecture #11772: Remove all dsc / metadata logic from ncf ReleasedFrançois ARMAND

User story #11783: Add logic to generate ncf Technique files into RudderPending releaseVincent MEMBRÉ

Bug #11833: rudder_reporting is added in metadata.xml if all condition are anyReleasedFrançois ARMAND

Bug #11850: dsc methods parameters do not have a dash between words like cfengine one who have underscore ReleasedFrançois ARMAND


Related issues

Related to Rudder - Bug #11445: Node properties syntax is not the same for Windows agent Released

Associated revisions

Revision 5ef1ab4b
Added by Vincent MEMBRÉ 2 months ago

Fixes #11749: Add logic to generate ncf Technique files into Rudder

History

#1 Updated by Vincent MEMBRÉ 2 months ago

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

#2 Updated by Vincent MEMBRÉ 2 months ago

  • Status changed from New to In progress

#3 Updated by Vincent MEMBRÉ 2 months 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

#4 Updated by Vincent MEMBRÉ 2 months 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

#5 Updated by Vincent MEMBRÉ 2 months ago

  • Description updated (diff)

#6 Updated by Vincent MEMBRÉ 2 months ago

  • Status changed from Pending technical review to Pending release

#8 Updated by Vincent MEMBRÉ about 1 month ago

  • Status changed from Pending release to Released

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

Also available in: Atom PDF