Merge "virsh returns a list of secret uuids, not keyring names"

This commit is contained in:
Jenkins 2014-12-11 15:03:56 +00:00 committed by Gerrit Code Review
commit 7903643165
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class nova::compute::rbd (
exec { 'set-secret-value virsh':
command => "/usr/bin/virsh secret-set-value --secret $(cat /etc/nova/virsh.secret) --base64 $(ceph auth get-key ${rbd_keyring})",
unless => "/usr/bin/virsh secret-list | grep ${rbd_keyring}",
unless => "/usr/bin/virsh secret-list | grep ${libvirt_rbd_secret_uuid}",
require => Exec['get-or-set virsh secret']
}