]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
RM-11642: Add install of ceph-common only
authorTravis Rhoden <trhoden@redhat.com>
Fri, 15 May 2015 14:25:16 +0000 (10:25 -0400)
committerTravis Rhoden <trhoden@redhat.com>
Fri, 15 May 2015 14:25:16 +0000 (10:25 -0400)
Add options --cli and --common, both of which allow a user
to install only the ceph-common package on a node.

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
ceph_deploy/install.py

index 32b869e0d82c95f05b22f0ff92120503fa302609..6baf7477da0b90355dd2f77687e1644d01edcd8b 100644 (file)
@@ -54,6 +54,7 @@ def detect_components(args, distro):
         'install_rgw': 'ceph-radosgw',
         'install_mds': 'ceph-mds',
         'install_mon': 'ceph-mon',
+        'install_common': 'ceph-common',
     }
 
     if distro.is_rpm:
@@ -505,6 +506,13 @@ def make(parser):
         help='install the osd component only',
     )
 
+    version.add_argument(
+        '--cli', '--common',
+        dest='install_common',
+        action='store_true',
+        help='install the common component only',
+    )
+
     version.add_argument(
         '--all',
         dest='install_all',