Project

General

Profile

Actions

User story #15223

closed

Execute a single directive on the agent

Added by Benoît PECCATTE almost 2 years ago. Updated over 1 year ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Suggestion strength:
User visibility:
Effort required:

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
ncf - 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 #1

Updated by Benoît PECCATTE almost 2 years ago

  • Description updated (diff)
Actions #2

Updated by Benoît PECCATTE almost 2 years ago

  • Status changed from New to In progress
  • Assignee set to Benoît PECCATTE
Actions #3

Updated by Benoît PECCATTE over 1 year ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Félix DALLIDET
  • Pull Request set to https://github.com/Normation/rudder-agent/pull/247
Actions #4

Updated by Benoît PECCATTE over 1 year ago

  • Status changed from Pending technical review to Pending release
Actions #6

Updated by Vincent MEMBRÉ over 1 year ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.0.0~beta1 which was released today.

Actions

Also available in: Atom PDF