Merge "Fix for multiple usages of cinder::backend::iscsi in Debian"

This commit is contained in:
Zuul 2019-07-29 19:07:22 +00:00 committed by Gerrit Code Review
commit ad177bd1e1
1 changed files with 5 additions and 3 deletions

View File

@ -89,9 +89,11 @@ define cinder::backend::iscsi (
# NOTE(mnaser): Cinder requires /usr/sbin/thin_check to create volumes which
# does not get installed with Cinder (see LP#1615134).
if $::osfamily == 'Debian' {
package { 'thin-provisioning-tools':
ensure => present,
tag => 'cinder-support-package',
if ! defined(Package['thin-provisioning-tools']) {
package { 'thin-provisioning-tools':
ensure => present,
tag => 'cinder-support-package',
}
}
}