self.distro.is_deb = True
result = sorted(install.detect_components(self.args, self.distro))
assert result == sorted([
- 'ceph-osd', 'ceph-mds', 'ceph-mgr', 'ceph-mon', 'radosgw'
+ 'ceph-osd', 'ceph-mds', 'ceph', 'ceph-mon', 'radosgw'
])
def test_install_all_with_other_options_returns_all_packages_deb(self):
self.args.install_osd = True
result = sorted(install.detect_components(self.args, self.distro))
assert result == sorted([
- 'ceph-osd', 'ceph-mds', 'ceph-mgr', 'ceph-mon', 'radosgw'
+ 'ceph-osd', 'ceph-mds', 'ceph', 'ceph-mon', 'radosgw'
])
def test_install_all_returns_all_packages_rpm(self):
self.args.install_all = True
result = sorted(install.detect_components(self.args, self.distro))
assert result == sorted([
- 'ceph-osd', 'ceph-mds', 'ceph-mgr', 'ceph-mon', 'ceph-radosgw'
+ 'ceph-osd', 'ceph-mds', 'ceph', 'ceph-mon', 'ceph-radosgw'
])
def test_install_all_with_other_options_returns_all_packages_rpm(self):
self.args.install_osd = True
result = sorted(install.detect_components(self.args, self.distro))
assert result == sorted([
- 'ceph-osd', 'ceph-mds', 'ceph-mgr', 'ceph-mon', 'ceph-radosgw'
+ 'ceph-osd', 'ceph-mds', 'ceph', 'ceph-mon', 'ceph-radosgw'
])
def test_install_only_one_component(self):
def test_install_all_should_be_default_when_no_options_passed(self):
result = sorted(install.detect_components(self.args, self.distro))
assert result == sorted([
- 'ceph-osd', 'ceph-mds', 'ceph-mgr', 'ceph-mon', 'ceph-radosgw'
+ 'ceph-osd', 'ceph-mds', 'ceph', 'ceph-mon', 'ceph-radosgw'
])