Project

General

Profile

Actions

User story #15223

closed

Execute a single directive on the agent

Added by Benoît PECCATTE over 5 years ago. Updated over 2 years ago.

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

Description

Be able to execute a single directive from a shell on the agent:
  • rudder agent execute -l to list available directives / technique
  • rudder agent execute <directive id> to execute a single directive

With audit and enforce override options.

Beware that old techniques merge directives and more than one directive will be executed if you run one of them

TODO do not run techniques with hooks !


Subtasks 11 (0 open11 closed)

Architecture #15224: Reorganise system technique to simplify execuing a single directiveReleasedBenoît PECCATTEActions
Bug #15287: Reorganise system technique to simplify execuing a dingle directiveReleasedAlexis MoussetActions
Architecture #15225: Add server version in rudder.jsonReleasedFrançois ARMANDActions
Architecture #15226: Have audit mode bundles without parametersReleasedAlexis MoussetActions
Architecture #15239: Generate a list of directives with their id and modeReleasedFrançois ARMANDActions
Architecture #15382: Generate a bundle for each directive so it can be called with one bundleReleasedFrançois ARMANDActions
Architecture #15400: The list of directive bundles broke testReleasedNicolas CHARLESActions
Architecture #15410: Generated policies are invalid, as the bundles list are not in a methods: sectionReleasedAlexis MoussetActions
Architecture #15494: Policy mode of system directives are invalidReleasedVincent MEMBRÉActions
Bug #15957: rudder directive list fail to check rudder versionReleasedAlexis MoussetActions
User story #15958: document rudder directive commandsReleasedAlexis MoussetActions
Actions

Also available in: Atom PDF