install: only remove ceph data of project is ceph

Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
Sage Weil 2013-05-06 18:03:41 -07:00
parent 0b7cd6a890
commit f1be93f913

View File

@ -413,7 +413,8 @@ def install(ctx, config):
finally:
remove_packages(ctx, config, remove_info)
remove_sources(ctx, config)
purge_data(ctx)
if project == 'ceph':
purge_data(ctx)
def _upgrade_packages(ctx, config, remote, debs, branch):
"""