]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
use the default_release to infer if we should use_rhceph or not
authorAlfredo Deza <alfredo.deza@inktank.com>
Thu, 19 Feb 2015 21:05:29 +0000 (16:05 -0500)
committerAlfredo Deza <alfredo.deza@inktank.com>
Thu, 19 Feb 2015 21:05:29 +0000 (16:05 -0500)
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
ceph_deploy/install.py

index 3985952db0429c19740a062e96e4fd0d69fd42f0..2478032e7956dd0acf139010d1d455c0e66d54df 100644 (file)
@@ -54,7 +54,13 @@ def install(args):
         distro = hosts.get(
             hostname,
             username=args.username,
-            use_rhceph=bool(getattr(args, 'use_rhceph', False)))
+            # XXX this should get removed once ceph packages are split for
+            # upstream. If default_release is True, it means that the user is
+            # trying to install on a RHEL machine and should expect to get RHEL
+            # packages. Otherwise, it will need to specify either a specific
+            # version, or repo, or a development branch.
+            use_rhceph=args.default_release,
+            )
         LOG.info(
             'Distro info: %s %s %s',
             distro.name,