Actions
User story #2063
closedAdd a screen in administration to save configuration rules
Status:
Released
Priority:
2
Assignee:
Category:
Web - Maintenance
Target version:
Pull Request:
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.
Updated by François ARMAND about 13 years ago
- Category changed from Web - Config management to Web - Maintenance
Updated by François ARMAND about 13 years ago
- Status changed from 8 to Pending technical review
- % Done changed from 0 to 100
Applied in changeset 59329c425bf6681228331cbba29a2b898d9c4a43.
Updated by Nicolas CHARLES almost 13 years ago
- Status changed from Pending technical review to 10
This seems valid ! Thank you
Updated by Jonathan CLARKE over 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