Project

General

Profile

Actions

User story #2063

closed

Add a screen in administration to save configuration rules

Added by François ARMAND over 12 years ago. Updated almost 12 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 save configuration rules to the files system, accordingly to http://www.rudder-project.org/foswiki/Development/Pi_cr_group_export_import.

That means:

  • add a sub-menu in administration screen for "Import / export policies"
  • add a button to export (archive ?) configuration rules
  • when the button is clicked, the content of /var/rudder/configuration-repository/configuration-rules is updated to the new configuration rules:
    • remove all existing configuration rules
    • add new ones
    • git add "configuration-rules" and commit

The last step raises interesting mutex question with other part of the git repository: what happens if the user request (in the OS) a git commit just after all cr were removed ? Not to grave if then, they are added back, but there is certainly interesting race conditions hiding in the mix.

Actions #1

Updated by François ARMAND over 12 years ago

  • Category changed from Web - Config management to Web - Maintenance
Actions #2

Updated by François ARMAND over 12 years ago

  • Status changed from 8 to Pending technical review
  • % Done changed from 0 to 100
Actions #3

Updated by Nicolas CHARLES about 12 years ago

  • Status changed from Pending technical review to 10

This seems valid ! Thank you

Actions #4

Updated by Jonathan CLARKE almost 12 years ago

  • Status changed from 10 to Released

This is right, but I think the UI is a bit clumsy. We'll work on that in another ticket.

Actions

Also available in: Atom PDF