User story #9041
closedArchitecture #9108: Add a capabilities files in rudder agent package
Change system promises to call list-compatible-inputs with capabilities file
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 ...]
Updated by Alexis Mousset over 8 years ago
- Related to User story #9039: Add a static rudder version in rudder agent version added
Updated by Alexis Mousset over 8 years ago
- Related to User story #9063: Add support for a rudder_version check in list-compatible-input and policy loading added
Updated by Alexis Mousset over 8 years ago
- Target version changed from 3.2.7 to 3.1.14
Updated by Alexis Mousset over 8 years ago
- Status changed from New to In progress
- Assignee set to Alexis Mousset
Updated by Alexis Mousset over 8 years ago
- 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 8 years ago
- Related to deleted (User story #9039: Add a static rudder version in rudder agent version)
Updated by Benoît PECCATTE about 8 years ago
- 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 8 years ago
- Target version changed from 3.1.14 to 3.2.7
Updated by Benoît PECCATTE about 8 years ago
- Related to Architecture #9108: Add a capabilities files in rudder agent package added
Updated by Jonathan CLARKE about 8 years ago
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 8 years ago
- Related to User story #9105: Add conditions on features in ncf code loading added
Updated by Benoît PECCATTE about 8 years ago
- Status changed from Discussion to In progress
- Assignee changed from Alexis Mousset to Benoît PECCATTE
Updated by Benoît PECCATTE about 8 years ago
- 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 8 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-techniques|4f763e6470b148096be2c4a98b67227f2845ed90.
Updated by Alexis Mousset about 8 years ago
- Related to User story #9066: Use agent_requirements parameter in generic methods documentation added
Updated by Vincent MEMBRÉ about 8 years ago
- Related to deleted (Architecture #9108: Add a capabilities files in rudder agent package)
Updated by Vincent MEMBRÉ about 8 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder and 3.2.8/7 which was released today.