From c297aff9007bf290f664becf640d49671d661500 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Thu, 19 Feb 2015 16:05:29 -0500 Subject: [PATCH] use the default_release to infer if we should use_rhceph or not Signed-off-by: Alfredo Deza --- ceph_deploy/install.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ceph_deploy/install.py b/ceph_deploy/install.py index 3985952..2478032 100644 --- a/ceph_deploy/install.py +++ b/ceph_deploy/install.py @@ -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, -- 2.47.3