Project

General

Profile

Actions

User story #2422

closed

Create a migration script for ldap-inventory and rudder to add entries in the ldap trees and update the configuration.properties files

Added by Nicolas CHARLES over 12 years ago. Updated over 9 years ago.

Status:
Released
Priority:
1 (highest)
Assignee:
Nicolas PERRON
Category:
Packaging
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

As per #2094, new entries appeared in the ldap tree


## Same structure, for removed inventories (after deletion)
dn: ou=Removed Inventories,ou=Inventories,cn=rudder-configuration
objectclass: top
objectclass: organizationalUnit
ou: Removed Inventories
description: Store inventories removed from Rudder

# Machines, pending @ example.org
dn: ou=Machines,ou=Removed Inventories,ou=Inventories,cn=rudder-configuration
objectClass: top
objectClass: organizationalUnit
ou: Machines
description: Containers for servers from ou=Nodes, such as physical machines or virtual machines.

# Nodes, pending @ example.org
dn: ou=Nodes,ou=Removed Inventories,ou=Inventories,cn=rudder-configuration
objectClass: top
objectClass: organizationalUnit
ou: Servers
description: Logical servers, an OS installation. May be on a virtual machine or a physical machine, from ou=Machines.

and in the configuration.properties (in both project) files needs this new entries :

ldap.inventories.removed.basedn=ou=Removed Inventories, ou=Inventories, cn=rudder-configuration


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #2627: The upgrade from Rudder 2.3 to Rudder 2.4 doesn't work as LDAP DIT has not been correctly migratedReleasedNicolas PERRON2012-07-03Actions
Actions

Also available in: Atom PDF