overcloud_volume: cleanup unused Puppet code
overcloud_volume contains some code that is already deployed by OS::TripleO::Services::CinderVolume service. Change-Id: I3446883cb89dcf179a854e2adef81b899117f66a
This commit is contained in:
parent
1006cbbdea
commit
1222eb7e7b
|
@ -25,28 +25,6 @@ if hiera('step') >= 1 {
|
|||
}
|
||||
|
||||
if hiera('step') >= 4 {
|
||||
|
||||
include ::cinder
|
||||
include ::cinder::config
|
||||
include ::cinder::glance
|
||||
include ::cinder::volume
|
||||
include ::cinder::setup_test_volume
|
||||
|
||||
$cinder_enable_iscsi = hiera('cinder_enable_iscsi_backend', true)
|
||||
if $cinder_enable_iscsi {
|
||||
$cinder_iscsi_backend = 'tripleo_iscsi'
|
||||
|
||||
cinder::backend::iscsi { $cinder_iscsi_backend :
|
||||
iscsi_ip_address => hiera('cinder_iscsi_ip_address'),
|
||||
iscsi_helper => hiera('cinder_iscsi_helper'),
|
||||
}
|
||||
}
|
||||
|
||||
$cinder_enabled_backends = any2array($cinder_iscsi_backend)
|
||||
class { '::cinder::backends' :
|
||||
enabled_backends => union($cinder_enabled_backends, hiera('cinder_user_enabled_backends')),
|
||||
}
|
||||
|
||||
hiera_include('volume_classes')
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue