From b5c91e43ff41e1a40570038cf64c32987c676b42 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Wed, 12 Feb 2014 18:24:36 +0000 Subject: deploy: Add new --upgrade option --- morphlib/plugins/deploy_plugin.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/morphlib/plugins/deploy_plugin.py b/morphlib/plugins/deploy_plugin.py index e8f1d217..66058973 100644 --- a/morphlib/plugins/deploy_plugin.py +++ b/morphlib/plugins/deploy_plugin.py @@ -36,6 +36,13 @@ import morphlib.plugins.branch_and_merge_plugin class DeployPlugin(cliapp.Plugin): def enable(self): + group_deploy = 'Deploy Options' + self.app.settings.boolean(['upgrade'], + 'specify that you want to upgrade an ' + 'existing cluster of systems rather than do ' + 'an initial deployment', + group=group_deploy) + self.app.add_subcommand( 'deploy', self.deploy, arg_synopsis='CLUSTER [SYSTEM.KEY=VALUE]') -- cgit v1.2.1