User story #3274
closedUser story #3273: Have a group containing all nodes
Add "all nodes" Group in LDAP
Description
We need to add the "all nodes" group in the bootstrap.ldif, so that group will included on a new installation
here is the extract corresponding to the group :
dn: nodeGroupId=All-Nodes,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration objectClass: nodeGroup objectClass: top cn: All Nodes isDynamic: TRUE nodeGroupId: All-Nodes jsonNodeGroupQuery: { "select":"nodeAndPolicyServer", "composition":"And", "where":[ {"objectType":"node","attribute":"nodeId","comparator":"exists","value":""}]} isEnabled: TRUE isSystem: FALSE
A migration has to be done to add that group, if missing on an upgrade.
Updated by Vincent MEMBRÉ almost 12 years ago
- Description updated (diff)
Rudder upgrade will use a ldif file containing what to add to the ldap.
its contains will be
dn: nodeGroupId=All-Nodes,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration changetype: add objectClass: nodeGroup objectClass: top cn: All Nodes isDynamic: TRUE nodeGroupId: All-Nodes jsonNodeGroupQuery: { "select":"nodeAndPolicyServer", "composition":"And", "where":[ {"objectType":"node","attribute":"nodeId","comparator":"exists","value":""}]} isEnabled: TRUE isSystem: FALSE
Updated by Vincent MEMBRÉ almost 12 years ago
- Status changed from New to Pending technical review
- Assignee changed from Vincent MEMBRÉ to Jonathan CLARKE
Pull request on Rudder : https://github.com/Normation/rudder/pull/121
on Rudder-packages : https://github.com/Normation/rudder-packages/pull/21
Updated by François ARMAND almost 12 years ago
- Assignee changed from Jonathan CLARKE to Nicolas CHARLES
Nicolas, could you please review https://github.com/Normation/rudder/pull/121 to ?
Updated by Nicolas CHARLES almost 12 years ago
- Assignee changed from Nicolas CHARLES to François ARMAND
I've answered the question !
Updated by Vincent MEMBRÉ over 11 years ago
I removed the migration ldif, as we don't want to add that group on an update, only on a new Rudder server.
This still need a review.
Updated by François ARMAND over 11 years ago
- Status changed from Pending technical review to 12
This is OK for me.
Updated by Nicolas PERRON over 11 years ago
- Category changed from 11 to Web - Nodes & inventories
Updated by Vincent MEMBRÉ over 11 years ago
This ticket should be rejected and closed,
We don't want to add an "all node" group, we would rather have use system groups
Updated by Matthieu CERDA over 11 years ago
- Status changed from 12 to Rejected
This ticket is to be rejected.
Updated by Benoît PECCATTE over 9 years ago
- Tracker changed from 6 to User story