From 7a39febf85c33155147ded99af5b7ed4e7163784 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Fri, 20 Feb 2015 11:11:54 -0500 Subject: [PATCH] default to use rhceph when purging/uninstalling Signed-off-by: Alfredo Deza --- ceph_deploy/install.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) -- 2.47.3