Project

General

Profile

User story #15223

Execute a single directive on the agent

Added by Benoît PECCATTE 4 months ago. Updated 12 days 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

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

Associated revisions

Revision e8ab36bd (diff)
Added by Benoît PECCATTE 3 months ago

Fixes #15223: Execute a single directive on the agent

Revision 2a1bc3e1 (diff)
Added by Benoît PECCATTE 3 months ago

Fixes #15223: Execute a single directive on the agent

History

#1

Updated by Benoît PECCATTE 4 months ago

  • Description updated (diff)
#2

Updated by Benoît PECCATTE 4 months ago

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

Updated by Benoît PECCATTE 3 months 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
#4

Updated by Benoît PECCATTE 3 months ago

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

Updated by Vincent MEMBRÉ 12 days ago

  • Status changed from Pending release to Released

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

Also available in: Atom PDF