Project

General

Profile

Actions

User story #16347

closed

Group properties

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

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
To do
Fix check:
Error - Fixed
Regression:

Description

We want to have group properties like we have node properties.

The difficulty if the interaction with other properties:
- node property with the same name as a group property would override the value
- 2 group properties with the same name on applying on the same node must have a way to tell which one is the one to take

One solution would be to have a hierarchy of group.

I think a better one would be to have a priority per group and chose the property based on the priority.

But we could probably have something more obvious for the user.

Update: we have think to something that can fly:

- if two groups define the same key, we fail generation except if one group is a subgroup of an other.
- nodes automatically get all groups properties the are in for variable expansion (but that's not "their" property, ie they can directly modify it, nor these property can be used to define groups).


Subtasks 1 (0 open1 closed)

Bug #17211: Properties of a group are removed when updating a groupReleasedVincent MEMBRÉActions

Related issues 8 (0 open8 closed)

Related to Rudder - User story #16301: Add JSON support for global parametersReleasedVincent MEMBRÉActions
Related to Rudder - User story #17227: Prevent removal of 'system' global and group propertiesReleasedVincent MEMBRÉActions
Related to Rudder - User story #17282: Documentation for group propertiesReleasedAlexis MoussetActions
Related to Rudder - Bug #17312: Group property UX is unclear regarding savingReleasedVincent MEMBRÉActions
Related to Rudder - Bug #17476: error about group consistency at upgrade from Rudder 6.0 to 6.1ReleasedNicolas CHARLESActions
Related to Rudder - Bug #18049: Impossible to define group properties in group of groupsResolvedFrançois ARMANDActions
Related to Rudder - Architecture #17426: Use hocon as an internal format for node propertiesReleasedVincent MEMBRÉActions
Related to Rudder - Bug #18466: Inherited node prop arrays are replaced not merged contrary to docReleasedVincent MEMBRÉActions
Actions #1

Updated by François ARMAND over 4 years ago

  • Description updated (diff)
  • Assignee set to François ARMAND
  • Target version set to 6.1.0~beta1
Actions #2

Updated by François ARMAND over 4 years ago

  • Status changed from New to In progress
Actions #3

Updated by François ARMAND over 4 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/2890
Actions #4

Updated by François ARMAND over 4 years ago

Actions #5

Updated by François ARMAND over 4 years ago

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

Updated by Vincent MEMBRÉ over 4 years ago

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

Actions #7

Updated by Vincent MEMBRÉ over 4 years ago

  • Related to User story #17227: Prevent removal of 'system' global and group properties added
Actions #8

Updated by Vincent MEMBRÉ over 4 years ago

Actions #9

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Pending release to Released
Actions #10

Updated by François ARMAND over 4 years ago

  • Fix check changed from To do to Error - Blocking
Actions #11

Updated by François ARMAND over 4 years ago

  • Related to Bug #17312: Group property UX is unclear regarding saving added
Actions #12

Updated by François ARMAND over 4 years ago

Feature works but is blocked by #17312

Actions #13

Updated by François ARMAND over 4 years ago

  • Fix check changed from Error - Blocking to Error - Fixed
Actions #14

Updated by Nicolas CHARLES over 4 years ago

  • Related to Bug #17476: error about group consistency at upgrade from Rudder 6.0 to 6.1 added
Actions #15

Updated by François ARMAND about 4 years ago

  • Related to Bug #18049: Impossible to define group properties in group of groups added
Actions #16

Updated by François ARMAND about 4 years ago

Actions #17

Updated by François ARMAND about 4 years ago

  • Related to Bug #18466: Inherited node prop arrays are replaced not merged contrary to doc added
Actions

Also available in: Atom PDF