From: Travis Rhoden Date: Fri, 20 Feb 2015 21:42:23 +0000 (-0500) Subject: Detect RHEL/RHCEPH for 'install --repo' X-Git-Tag: v1.5.22-rc1~1^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=61734428c5e4e39e14e9ec0c52092e2d41d02db1;p=ceph-deploy.git Detect RHEL/RHCEPH for 'install --repo' Signed-off-by: Travis Rhoden --- diff --git a/ceph_deploy/install.py b/ceph_deploy/install.py index 081e427..1606538 100644 --- a/ceph_deploy/install.py +++ b/ceph_deploy/install.py @@ -213,7 +213,17 @@ def install_repo(args): for hostname in args.host: LOG.debug('Detecting platform for host %s ...', hostname) - distro = hosts.get(hostname, username=args.username) + distro = hosts.get( + hostname, + username=args.username, + # 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. Other distro users should + # not see any differences. + use_rhceph=args.default_release, + ) rlogger = logging.getLogger(hostname) LOG.info(