# default values for install_* flags
self.args.install_all = False
self.args.install_mds = False
+ self.args.install_mgr = False
self.args.install_mon = False
self.args.install_osd = False
self.args.install_rgw = False
self.distro.is_deb = True
result = sorted(install.detect_components(self.args, self.distro))
assert result == sorted([
- 'ceph-osd', 'ceph-mds', 'ceph-mon', 'radosgw'
+ 'ceph-osd', 'ceph-mds', 'ceph-mgr', 'ceph-mon', 'radosgw'
])
def test_install_all_with_other_options_returns_all_packages_deb(self):
self.distro.is_deb = True
self.args.install_all = True
self.args.install_mds = True
+ self.args.install_mgr = True
self.args.install_mon = True
self.args.install_osd = True
result = sorted(install.detect_components(self.args, self.distro))
assert result == sorted([
- 'ceph-osd', 'ceph-mds', 'ceph-mon', 'radosgw'
+ 'ceph-osd', 'ceph-mds', 'ceph-mgr', '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-mon', 'ceph-radosgw'
+ 'ceph-osd', 'ceph-mds', 'ceph-mgr', 'ceph-mon', 'ceph-radosgw'
])
def test_install_all_with_other_options_returns_all_packages_rpm(self):
self.args.install_all = True
self.args.install_mds = True
self.args.install_mon = True
+ self.args.install_mgr = True
self.args.install_osd = True
result = sorted(install.detect_components(self.args, self.distro))
assert result == sorted([
- 'ceph-osd', 'ceph-mds', 'ceph-mon', 'ceph-radosgw'
+ 'ceph-osd', 'ceph-mds', 'ceph-mgr', 'ceph-mon', 'ceph-radosgw'
])
def test_install_only_one_component(self):
def test_install_a_couple_of_components(self):
self.args.install_osd = True
self.args.install_mds = True
+ self.args.install_mgr = True
result = sorted(install.detect_components(self.args, self.distro))
- assert result == sorted(['ceph-osd', 'ceph-mds'])
+ assert result == sorted(['ceph-osd', 'ceph-mds', 'ceph-mgr'])
def test_install_tests(self):
self.args.install_tests = True
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-mon', 'ceph-radosgw'
+ 'ceph-osd', 'ceph-mds', 'ceph-mgr', 'ceph-mon', 'ceph-radosgw'
])