Project

General

Profile

Actions

User story #7424

closed

Add cfengine classes for each group of a node

User story #7424: Add cfengine classes for each group of a node

Added by François ARMAND almost 10 years ago. Updated almost 10 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 want to add a CFEngine class for each group of a node, so that logic can be built based on the knowledge that a node belongs to a specific group.

For a given group, we propose to add two classes:

- one with the normalized name of the group.

That identifier may change other time, so we also propose the second class:

- one with the name: group_UUID, where "UUID" is replaced by the group unique identifier.

That second class name will be far less telling, but it has the advantage to be stabe over time.

We also are going to add a CFEngine variables "rudder_groups", an array of UUID -> classe names.


Subtasks 9 (0 open9 closed)

Architecture #7565: Update specs2 to last versionReleasedVincent MEMBRÉActions
Architecture #7573: Update specs2 to last version (rudder part)ReleasedVincent MEMBRÉActions
Architecture #7566: Create a test on promise write to check template fillingReleasedVincent MEMBRÉActions
User story #7595: Add the classes names for the group in its information pageReleasedNicolas CHARLESActions
User story #7596: Add the classes names for the group in APIReleasedVincent MEMBRÉActions
User story #7599: Modify commons techniques to add rudder-groups.st and related infoReleasedNicolas CHARLESActions
Bug #7647: CFEngine does not parse group classes with uuidReleasedNicolas CHARLESActions
Bug #7673: Fixes test after fixes on rudder-groupsReleasedNicolas CHARLESActions
Bug #7605: Syntax error in generated rudder_groups bundleReleasedFrançois ARMANDActions

Related issues 2 (0 open2 closed)

Related to Rudder - Bug #8221: Promises are not regenerated after changing group name, preventing usage of classes ReleasedFrançois ARMANDActions
Has duplicate Rudder - User story #5672: Expose rudder groups of a node as cfengine classesRejectedNicolas CHARLESActions

Updated by Vincent MEMBRÉ almost 10 years ago Actions #1

  • Target version changed from 3.2.0~beta1 to 3.2.0~rc1

Updated by François ARMAND almost 10 years ago Actions #2

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder/pull/995

Updated by François ARMAND almost 10 years ago Actions #3

  • Status changed from Pending technical review to Pending release
  • % Done changed from 40 to 100

Updated by Alexis Mousset almost 10 years ago Actions #5

  • Related to Bug #7647: CFEngine does not parse group classes with uuid added

Updated by Vincent MEMBRÉ almost 10 years ago Actions #6

  • Related to deleted (Bug #7647: CFEngine does not parse group classes with uuid)

Updated by Benoît PECCATTE almost 10 years ago Actions #7

  • Status changed from Pending release to Released

Updated by Jonathan CLARKE over 9 years ago Actions #9

  • Related to Bug #8221: Promises are not regenerated after changing group name, preventing usage of classes added

Updated by Nicolas CHARLES over 9 years ago Actions #10

  • Has duplicate User story #5672: Expose rudder groups of a node as cfengine classes added
Actions

Also available in: PDF Atom