Project

General

Profile

Actions

User story #9041

closed

Architecture #9108: Add a capabilities files in rudder agent package

Change system promises to call list-compatible-inputs with capabilities file

User story #9041: Change system promises to call list-compatible-inputs with capabilities file

Added by Alexis Mousset over 9 years ago. Updated about 9 years ago.

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

Description

We will add an optional parameter to list-compatible-inputs to filter by Rudder version. We need to use it in the techniques promises.cf.

We will create a capabilities file in /opt/rudder/etc/agent-capabilities.
The promise.cf will call list-compatible-input and pass this file as a parameter.
list-compatible-input will then know when to load a file or not based on these capabilities.

The new list-compatible-input syntax is

list-compatible-inputs [--capability_file <capability_file_path>] [--cfengine <CFEngine_version>] --ncf_path <ncf_framework_path> [common|local]/<nn_directory> [<nn_directory ...]

Subtasks 1 (0 open1 closed)

User story #9042: Add a dependency on an ncf version with the new list-compatible-inputsReleasedBenoît PECCATTEActions

Related issues 3 (0 open3 closed)

Related to Rudder - User story #9063: Add support for a rudder_version check in list-compatible-input and policy loadingRejectedActions
Related to Rudder - User story #9105: Add conditions on features in ncf code loadingReleasedAlexis MoussetActions
Related to Rudder - User story #9066: Use agent_requirements parameter in generic methods documentationRejectedAlexis MoussetActions

Updated by Alexis Mousset over 9 years ago Actions #1

  • Related to User story #9039: Add a static rudder version in rudder agent version added

Updated by Alexis Mousset over 9 years ago Actions #2

  • Related to User story #9063: Add support for a rudder_version check in list-compatible-input and policy loading added

Updated by Alexis Mousset about 9 years ago Actions #3

  • Target version changed from 3.2.7 to 3.1.14

Updated by Alexis Mousset about 9 years ago Actions #4

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset

Updated by Alexis Mousset about 9 years ago Actions #5

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1039

Updated by Benoît PECCATTE about 9 years ago Actions #6

  • Related to deleted (User story #9039: Add a static rudder version in rudder agent version)

Updated by Benoît PECCATTE about 9 years ago Actions #7

  • Subject changed from Change system promises to call list-compatible-inputs with Rudder version to Change system promises to call list-compatible-inputs with capabilities file
  • Description updated (diff)
  • Status changed from Pending technical review to Discussion
  • Assignee changed from Benoît PECCATTE to Alexis Mousset

We will use a capabilities file instead.

Updated by Benoît PECCATTE about 9 years ago Actions #8

  • Target version changed from 3.1.14 to 3.2.7

Updated by Benoît PECCATTE about 9 years ago Actions #9

Updated by Jonathan CLARKE about 9 years ago Actions #10

The new list-compatible-input syntax is

list-compatible-inputs [--capability_file <capability_file_path>] [--cfengine <CFEngine_version>] --ncf_path <ncf_framework_path> [common|local]/<nn_directory> [<nn_directory ...]

If I may, I suggest renaming "--cfengine" to "--agent-version".

Also, the option names "capability_file", "ncf_path", etc should have dashes not underscores, as is common in all UNIX commands (so capability-file, ncf-path, etc)

Updated by Benoît PECCATTE about 9 years ago Actions #11

  • Related to User story #9105: Add conditions on features in ncf code loading added

Updated by Benoît PECCATTE about 9 years ago Actions #12

  • Status changed from Discussion to In progress
  • Assignee changed from Alexis Mousset to Benoît PECCATTE

Updated by Benoît PECCATTE about 9 years ago Actions #13

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Alexis Mousset
  • Pull Request changed from https://github.com/Normation/rudder-techniques/pull/1039 to https://github.com/Normation/rudder-techniques/pull/1041

Updated by Benoît PECCATTE about 9 years ago Actions #14

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Updated by Alexis Mousset about 9 years ago Actions #15

  • Related to User story #9066: Use agent_requirements parameter in generic methods documentation added

Updated by Vincent MEMBRÉ about 9 years ago Actions #16

  • Related to deleted (Architecture #9108: Add a capabilities files in rudder agent package)

Updated by Vincent MEMBRÉ about 9 years ago Actions #17

  • Parent task set to #9108

Updated by Vincent MEMBRÉ about 9 years ago Actions #18

  • Status changed from Pending release to Released

This bug has been fixed in Rudder and 3.2.8/7 which was released today.

Actions

Also available in: PDF Atom