Project

General

Profile

Actions

User story #7424

closed

Add cfengine classes for each group of a node

Added by François ARMAND over 8 years ago. Updated about 8 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É2015-12-08Actions
Architecture #7573: Update specs2 to last version (rudder part)ReleasedVincent MEMBRÉ2015-12-08Actions
Architecture #7566: Create a test on promise write to check template fillingReleasedVincent MEMBRÉ2015-12-08Actions
User story #7595: Add the classes names for the group in its information pageReleasedNicolas CHARLES2015-12-10Actions
User story #7596: Add the classes names for the group in APIReleasedVincent MEMBRÉ2015-12-10Actions
User story #7599: Modify commons techniques to add rudder-groups.st and related infoReleasedNicolas CHARLES2015-12-11Actions
Bug #7647: CFEngine does not parse group classes with uuidReleasedNicolas CHARLES2015-12-21Actions
Bug #7673: Fixes test after fixes on rudder-groupsReleasedNicolas CHARLES2015-12-21Actions
Bug #7605: Syntax error in generated rudder_groups bundleReleasedFrançois ARMAND2015-12-13Actions

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 CHARLES2014-10-21Actions
Actions #1

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 3.2.0~beta1 to 3.2.0~rc1
Actions #2

Updated by François ARMAND over 8 years ago

  • 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
Actions #3

Updated by François ARMAND over 8 years ago

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

Updated by Alexis Mousset over 8 years ago

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

Updated by Vincent MEMBRÉ over 8 years ago

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

Updated by Benoît PECCATTE about 8 years ago

  • Status changed from Pending release to Released
Actions #9

Updated by Jonathan CLARKE almost 8 years ago

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

Updated by Nicolas CHARLES almost 8 years ago

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

Also available in: Atom PDF