Project

General

Profile

Actions

User story #2074

closed

Add a screen in administration to import archived configuration rules

Added by François ARMAND almost 13 years ago. Updated almost 13 years ago.

Status:
Released
Priority:
2
Category:
Web - Maintenance
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

We want to be able to import archived CR thanks to a button in administration screen.

Importing CR means (at least):

  • read serialized CR (in XML) from /var/rudder/configuration-repository/configuration-rules
    • on any error, abort
    • if no CR are present, what do we do ? Abort ? Or erase all existing CR ?
  • create a new branche in LDAP "new CR"
  • move ancient CR to "old CR" branch, move "new CR" to "CR", delete old cr branches - in an LDAP transaction, of course
    • if anything does not work, restore old CR
Actions

Also available in: Atom PDF