From: Travis Rhoden Date: Thu, 9 Jul 2015 23:57:43 +0000 (-0700) Subject: [RM-12147] Take non version related switches out of version mutex X-Git-Tag: v1.5.26~9^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a2e8eeca66d2d85c32892e7a72f6a7582fbd2642;p=ceph-deploy.git [RM-12147] Take non version related switches out of version mutex Signed-off-by: Travis Rhoden --- diff --git a/ceph_deploy/install.py b/ceph_deploy/install.py index 49c8be2..2e6e80c 100644 --- a/ceph_deploy/install.py +++ b/ceph_deploy/install.py @@ -479,63 +479,63 @@ def make(parser): or tag (default: %(default)s)', ) - version.add_argument( + parser.add_argument( '--mon', dest='install_mon', action='store_true', help='install the mon component only', ) - version.add_argument( + parser.add_argument( '--mds', dest='install_mds', action='store_true', help='install the mds component only', ) - version.add_argument( + parser.add_argument( '--rgw', dest='install_rgw', action='store_true', help='install the rgw component only', ) - version.add_argument( + parser.add_argument( '--osd', dest='install_osd', action='store_true', help='install the osd component only', ) - version.add_argument( + parser.add_argument( '--cli', '--common', dest='install_common', action='store_true', help='install the common component only', ) - version.add_argument( + parser.add_argument( '--all', dest='install_all', action='store_true', help='install all ceph components (e.g. mon,osd,mds,rgw). This is the default', ) - version.add_argument( + parser.add_argument( '--adjust-repos', dest='adjust_repos', action='store_true', help='install packages modifying source repos', ) - version.add_argument( + parser.add_argument( '--no-adjust-repos', dest='adjust_repos', action='store_false', help='install packages without modifying source repos', ) - version.set_defaults( + parser.set_defaults( func=install, stable=None, # XXX deprecated in favor of release release=None, # Set the default release in sanitize_args()