diff --git a/spec/classes/nova_compute_rbd_spec.rb b/spec/classes/nova_compute_rbd_spec.rb index 1605e3029..8ad304ea8 100644 --- a/spec/classes/nova_compute_rbd_spec.rb +++ b/spec/classes/nova_compute_rbd_spec.rb @@ -74,7 +74,7 @@ verify_contents(subject, '/etc/nova/secret.xml', [ "", " ", - " client.nova secret", + " client.rbd_test secret", " ", " UUID", "" diff --git a/templates/secret.xml-compute.erb b/templates/secret.xml-compute.erb index c42415961..a17d70e05 100644 --- a/templates/secret.xml-compute.erb +++ b/templates/secret.xml-compute.erb @@ -1,6 +1,6 @@ - client.nova secret + <%= rbd_keyring %> secret <%= @libvirt_rbd_secret_uuid %>