User story #3274
closed
User story #3273: Have a group containing all nodes
Add "all nodes" Group in LDAP
Added by Vincent MEMBRÉ almost 12 years ago.
Updated over 9 years ago.
Category:
Web - Nodes & inventories
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.
- 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
- Status changed from New to Pending technical review
- Assignee changed from Vincent MEMBRÉ to Jonathan CLARKE
- Assignee changed from Jonathan CLARKE to Nicolas CHARLES
- Assignee changed from Nicolas CHARLES to François ARMAND
I've answered the question !
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.
- Status changed from Pending technical review to 12
- Category changed from 11 to Web - Nodes & inventories
This ticket should be rejected and closed,
We don't want to add an "all node" group, we would rather have use system groups
- Status changed from 12 to Rejected
This ticket is to be rejected.
- Tracker changed from 6 to User story
Also available in: Atom
PDF