Merge "Ensure modular libvirt daemons are started before executing virsh"
This commit is contained in:
@@ -131,7 +131,7 @@ class nova::compute::rbd (
|
|||||||
unless => "/usr/bin/virsh secret-list | grep -i ${libvirt_rbd_secret_uuid}",
|
unless => "/usr/bin/virsh secret-list | grep -i ${libvirt_rbd_secret_uuid}",
|
||||||
require => File['/etc/nova/secret.xml'],
|
require => File['/etc/nova/secret.xml'],
|
||||||
}
|
}
|
||||||
Service<| title == 'libvirt' |> -> Exec['get-or-set virsh secret']
|
Service<| tag == 'libvirt-service' |> -> Exec['get-or-set virsh secret']
|
||||||
|
|
||||||
if $libvirt_rbd_secret_key {
|
if $libvirt_rbd_secret_key {
|
||||||
$libvirt_key = $libvirt_rbd_secret_key
|
$libvirt_key = $libvirt_rbd_secret_key
|
||||||
|
Reference in New Issue
Block a user