From: Alfredo Deza Date: Fri, 20 Feb 2015 16:11:54 +0000 (-0500) Subject: default to use rhceph when purging/uninstalling X-Git-Tag: v1.5.22-rc1~2^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7a39febf85c33155147ded99af5b7ed4e7163784;p=ceph-deploy.git default to use rhceph when purging/uninstalling Signed-off-by: Alfredo Deza --- diff --git a/ceph_deploy/install.py b/ceph_deploy/install.py index 2478032..fb87e7c 100644 --- a/ceph_deploy/install.py +++ b/ceph_deploy/install.py @@ -240,7 +240,7 @@ def uninstall(args): distro = hosts.get( hostname, username=args.username, - use_rhceph=bool(getattr(args, 'use_rhceph', False))) + use_rhceph=True) LOG.info('Distro info: %s %s %s', distro.name, distro.release, distro.codename) rlogger = logging.getLogger(hostname) rlogger.info('uninstalling ceph on %s' % hostname) @@ -264,7 +264,8 @@ def purge(args): distro = hosts.get( hostname, username=args.username, - use_rhceph=bool(getattr(args, 'use_rhceph', False))) + use_rhceph=True + ) LOG.info('Distro info: %s %s %s', distro.name, distro.release, distro.codename) rlogger = logging.getLogger(hostname) rlogger.info('purging host ... %s' % hostname)