Merge "Update puppet-tripleo libvirt to support docker deployments"
This commit is contained in:
commit
e74e32338e
@ -33,11 +33,7 @@ class tripleo::profile::base::nova::compute::libvirt (
|
||||
$rbd_ephemeral_storage = hiera('nova::compute::rbd::ephemeral_storage', false)
|
||||
$rbd_persistent_storage = hiera('rbd_persistent_storage', false)
|
||||
if $rbd_ephemeral_storage or $rbd_persistent_storage {
|
||||
$client_keys = hiera('ceph::profile::params::client_keys')
|
||||
$client_user = join(['client.', hiera('nova::compute::rbd::libvirt_rbd_user')])
|
||||
class { '::nova::compute::rbd':
|
||||
libvirt_rbd_secret_key => $client_keys[$client_user]['secret'],
|
||||
}
|
||||
include ::nova::compute::rbd
|
||||
}
|
||||
|
||||
if $rbd_ephemeral_storage {
|
||||
|
Loading…
x
Reference in New Issue
Block a user