Remove workaround for old ceph package
This is a partial revert of 0c938590d2bc7e56a04b196ee8cf835786b9a6d4 and removes workaround for old ceph package. Now python3-ceph should be installed instead of python2-ceph. Change-Id: Ib139a7df91cadbf9ac77eb8d94791e5865414ba9
This commit is contained in:
parent
58adb872fa
commit
da12dde248
@ -23,17 +23,6 @@ class openstack_integration::ceph (
|
|||||||
$ms_bind_ipv6 = undef
|
$ms_bind_ipv6 = undef
|
||||||
}
|
}
|
||||||
|
|
||||||
# FIXME(ykarel) python2-rbd is installed as a indirect dependency for 'ceph' package,
|
|
||||||
# but we need to install python3-rbd in Fedora until 'ceph' package is fixed.
|
|
||||||
if ($::operatingsystem == 'Debian') or ($::operatingsystem == 'Fedora') or
|
|
||||||
($::os['family'] == 'RedHat' and Integer.new($::os['release']['major']) > 7) {
|
|
||||||
|
|
||||||
ensure_resource('package', 'python3-rbd', {
|
|
||||||
name => 'python3-rbd',
|
|
||||||
ensure => 'present',
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
ensure_packages(['lvm2'], {'ensure' => 'present', before => Exec['lvm_create']})
|
ensure_packages(['lvm2'], {'ensure' => 'present', before => Exec['lvm_create']})
|
||||||
|
|
||||||
exec { 'lvm_create':
|
exec { 'lvm_create':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user