]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
[BZ-1349999] Handle package split for ubuntu 407/head
authorVasu Kulkarni <vasu@redhat.com>
Fri, 24 Jun 2016 19:57:33 +0000 (12:57 -0700)
committerVasu Kulkarni <vasu@redhat.com>
Wed, 29 Jun 2016 01:04:35 +0000 (18:04 -0700)
ceph is now split into ceph-base, ceph-mon and ceph-osd

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
ceph_deploy/hosts/debian/install.py

index 2f7a882c0b29f5c6f6405e03e0ffdadf5681883f..672789ac7fab5563ea421e97a15373e0bb5fcb0d 100644 (file)
@@ -4,17 +4,10 @@ except ImportError:
     from urlparse import urlparse
 
 from ceph_deploy.util.paths import gpg
-from ceph_deploy.hosts.common import map_components
-
-
-NON_SPLIT_COMPONENTS = ['ceph-osd', 'ceph-mon']
 
 
 def install(distro, version_kind, version, adjust_repos, **kw):
-    packages = map_components(
-        NON_SPLIT_COMPONENTS,
-        kw.pop('components', [])
-    )
+    packages = kw.pop('components', [])
     codename = distro.codename
     machine = distro.machine_type
 
@@ -67,10 +60,7 @@ def install(distro, version_kind, version, adjust_repos, **kw):
 
 
 def mirror_install(distro, repo_url, gpg_url, adjust_repos, **kw):
-    packages = map_components(
-        NON_SPLIT_COMPONENTS,
-        kw.pop('components', [])
-    )
+    packages = kw.pop('components', [])
     repo_url = repo_url.strip('/')  # Remove trailing slashes
 
     if adjust_repos:
@@ -88,10 +78,7 @@ def mirror_install(distro, repo_url, gpg_url, adjust_repos, **kw):
 
 
 def repo_install(distro, repo_name, baseurl, gpgkey, **kw):
-    packages = map_components(
-        NON_SPLIT_COMPONENTS,
-        kw.pop('components', [])
-    )
+    packages = kw.pop('components', [])
     # Get some defaults
     safe_filename = '%s.list' % repo_name.replace(' ', '-')
     install_ceph = kw.pop('install_ceph', False)