projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move archvsync_base from FTP to debian_mirror
[mirror/dsa-puppet.git]
/
modules
/
roles
/
templates
/
pubsub
/
pubsub.conf.erb
diff --git
a/modules/roles/templates/pubsub/pubsub.conf.erb
b/modules/roles/templates/pubsub/pubsub.conf.erb
index
0852463
..
63eaf80
100644
(file)
--- a/
modules/roles/templates/pubsub/pubsub.conf.erb
+++ b/
modules/roles/templates/pubsub/pubsub.conf.erb
@@
-1,6
+1,10
@@
-[dsa-homedirs]
-vhost=dsa
-topic=dsa.git.homedirs
-exchange=dsa
-username=<%= @fqdn %>
-password=<%= @rabbit_password %>
+[<%= @key -%>]
+vhost=<%= @vhost %>
+topic=<%= @topic %>
+exchange=<%= @exchange %>
+username=<%= @username %>
+password=<%= @password %>
+<% if @queue -%>
+queue=<%= @queue %>
+<% end -%>
+