-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Proof of concept
config switch
command
Adds the `barman config switch <server> <model>` command. It will apply the values from the named model into the config for the named server. It works but is missing: 1. Locking. We need a fairly global lock for this. 2. Validation. We don't check the model exists or is a member of the right cluster. 3. Supported keys should be defined somewhere other than the cli function. 4. Logging. We should log that the operation took place and log the old and new values so it is clear what has been changed.
- Loading branch information
1 parent
b013603
commit 782940c
Showing
3 changed files
with
83 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters