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

Added by Alexis Mousset about 8 years ago. Updated about 8 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 PECCATTE2016-09-14Actions

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
Actions

Also available in: Atom PDF