Enable LDAP for the XMPP 5apps.com vhost #132

Manually merged
raucao merged 7 commits from feature/123-ejabberd_5apps into master 2020-02-17 14:41:05 +00:00
2 changed files with 5 additions and 3 deletions
Showing only changes of commit c2b2b6f08b - Show all commits

View File

@ -6,6 +6,11 @@ log_rotate_count: 1
log_rate_limit: 100
hosts:
<% @hosts.each do |host| -%>
- "<%= host[:name] %>"
<% end -%>
<% @hosts.each do |host| -%>
include_config_file: "/opt/ejabberd/conf/<%= host[:name] %>.yml"
<% end -%>

View File

@ -1,7 +1,4 @@
# Generated by Chef for <%= @host[:name] %>
hosts:
- "<%= @host[:name] %>"
<% if File.exist?("/opt/ejabberd/conf/#{@host[:name]}.crt") && File.exist?("/opt/ejabberd/conf/#{@host[:name]}.key") -%>
certfiles:
- "/opt/ejabberd/conf/<%= @host[:name] %>.crt"