]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
[RM-12147] Take non version related switches out of version mutex
authorTravis Rhoden <trhoden@redhat.com>
Thu, 9 Jul 2015 23:57:43 +0000 (16:57 -0700)
committerTravis Rhoden <trhoden@redhat.com>
Thu, 9 Jul 2015 23:57:43 +0000 (16:57 -0700)
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
ceph_deploy/install.py

index 49c8be2ccbbeb38b5fdf30631aa1dfa1a0e3edb2..2e6e80c7498b165bfa32ac55a9925e5763fba44b 100644 (file)
@@ -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()