Fix for multiple usages of cinder::backend::iscsi in Debian
Change-Id: Ia09d731ee92ed3ebcb81eb1976964f49958c10fc
This commit is contained in:
parent
fabf8c9f33
commit
fbb53b020a
|
@ -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',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue