Install python-ceph/rbd before starting glance services

The python-ceph/rbd package is required so that glance services can
access to its ceph backend. This change ensures the package resource
is tagged with the glance-support-package tag so that the package is
always installed before starting glance services.

Change-Id: I0df179dccc95fd4d617eb1b39d921ecc4a6d7bee
This commit is contained in:
Takashi Kajinami 2021-05-24 22:44:30 +09:00
parent b192dd5253
commit b3327ff10e
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ define glance::backend::multistore::rbd(
"${name}/store_description": value => $store_description;
}
if $manage_packages and !defined(Package[$::glance::params::pyceph_package_name]) {
if $manage_packages {
ensure_packages('python-ceph', {
ensure => $package_ensure,
name => $::glance::params::pyceph_package_name,