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.
Actions