Merge "Fix for multiple usages of cinder::backend::iscsi in Debian"
This commit is contained in:
commit
ad177bd1e1
|
@ -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