diff options
m--------- | external_modules/xmpp | 0 | ||||
-rw-r--r-- | modules/base_installation/templates/puppet/xmpp.yaml.erb | 9 |
2 files changed, 8 insertions, 1 deletions
diff --git a/external_modules/xmpp b/external_modules/xmpp | |||
Subproject d18dd07ffdf6c33942bd0c277cb24aafa513cbd | Subproject 97a708139ecd0f2b12bee71a52aebf7f661d48c | ||
diff --git a/modules/base_installation/templates/puppet/xmpp.yaml.erb b/modules/base_installation/templates/puppet/xmpp.yaml.erb index 572f472..8aca285 100644 --- a/modules/base_installation/templates/puppet/xmpp.yaml.erb +++ b/modules/base_installation/templates/puppet/xmpp.yaml.erb | |||
@@ -1,6 +1,13 @@ | |||
1 | :xmpp_password: "<%= @xmpp["password"] %>" | 1 | :xmpp_password: "<%= @xmpp["password"] %>" |
2 | :xmpp_jid: "<%= @xmpp["jid"] %>/<%= @real_hostname %>" | 2 | :xmpp_jid: "<%= @xmpp["jid"] %>/<%= @real_hostname %>" |
3 | :xmpp_target: "<%= @xmpp["target"] %>" | 3 | :xmpp_target: |
4 | <% if @xmpp["target"].is_a?(String) %> | ||
5 | - "<%= @xmpp["target"] %>" | ||
6 | <% else %> | ||
7 | <% @xmpp["target"].each do |target| %> | ||
8 | - "<%= target %>" | ||
9 | <% end %> | ||
10 | <% end %> | ||
4 | <% if @xmpp["statuses"].is_a?(String) %> | 11 | <% if @xmpp["statuses"].is_a?(String) %> |
5 | :xmpp_statuses: "<%= @xmpp["statuses"] %>" | 12 | :xmpp_statuses: "<%= @xmpp["statuses"] %>" |
6 | <% else %> | 13 | <% else %> |