Skip to content

Commit

Permalink
add rbd keyring name to secret.xml template
Browse files Browse the repository at this point in the history
With Change-Id: I7342ec1337cf86c0e4bc66b1788e65c53b2878ce
a parameter for configuring the rbd keyring name was introduced.
This parameter should be used in the secrets file also.

Change-Id: I9da148f7f2e940f1d4dec73e1df6f283028bcca1
  • Loading branch information
trefzer authored and claytono committed May 23, 2014
1 parent 77fa1ce commit 3f0fb20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/classes/nova_compute_rbd_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
verify_contents(subject, '/etc/nova/secret.xml', [
"<secret ephemeral=\'no\' private=\'no\'>",
" <usage type=\'ceph\'>",
" <name>client.nova secret</name>",
" <name>client.rbd_test secret</name>",
" </usage>",
" <uuid>UUID</uuid>",
"</secret>"
Expand Down
2 changes: 1 addition & 1 deletion templates/secret.xml-compute.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<secret ephemeral='no' private='no'>
<usage type='ceph'>
<name>client.nova secret</name>
<name><%= rbd_keyring %> secret</name>
</usage>
<uuid><%= @libvirt_rbd_secret_uuid %></uuid>
</secret>

0 comments on commit 3f0fb20

Please sign in to comment.