diff options
Diffstat (limited to 'modules/base_installation/templates/puppet/xmpp.yaml.erb')
-rw-r--r-- | modules/base_installation/templates/puppet/xmpp.yaml.erb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/base_installation/templates/puppet/xmpp.yaml.erb b/modules/base_installation/templates/puppet/xmpp.yaml.erb new file mode 100644 index 0000000..572f472 --- /dev/null +++ b/modules/base_installation/templates/puppet/xmpp.yaml.erb | |||
@@ -0,0 +1,11 @@ | |||
1 | :xmpp_password: "<%= @xmpp["password"] %>" | ||
2 | :xmpp_jid: "<%= @xmpp["jid"] %>/<%= @real_hostname %>" | ||
3 | :xmpp_target: "<%= @xmpp["target"] %>" | ||
4 | <% if @xmpp["statuses"].is_a?(String) %> | ||
5 | :xmpp_statuses: "<%= @xmpp["statuses"] %>" | ||
6 | <% else %> | ||
7 | :xmpp_statuses: | ||
8 | <% @xmpp["statuses"].each do |status| %> | ||
9 | - <%= status %> | ||
10 | <% end %> | ||
11 | <% end %> | ||