Some recipes weren't updated for the proxy validation yet. Needed to split the ejabberd cert in two, so it can do normal validation on `.org` and proxy validation on `.chat`.
27 lines
773 B
Plaintext
27 lines
773 B
Plaintext
# Generated by Chef for <%= @host[:name] %>
|
|
certfiles:
|
|
<% @host[:certfiles].each do |certfile| %>
|
|
- <%= certfile %>
|
|
<% end %>
|
|
host_config:
|
|
"<%= @host[:name] %>":
|
|
sql_type: pgsql
|
|
sql_server: "<%= @sql_server %>"
|
|
sql_database: "<%= @host[:sql_database] %>"
|
|
sql_username: "ejabberd"
|
|
sql_password: "<%= @pgsql_password %>"
|
|
<% if @host[:ldap_enabled] -%>
|
|
auth_method: ldap
|
|
ldap_servers: ["<%= @ldap_server %>"]
|
|
ldap_rootdn: "<%= @ldap_rootdn %>"
|
|
ldap_password: "<%= @host[:ldap_password] %>"
|
|
ldap_encrypt: <%= @ldap_encryption_type %>
|
|
ldap_base: "ou=<%= @host[:name] %>,<%= @ldap_base %>"
|
|
ldap_filter: "<%= @ldap_filter %>"
|
|
<% end -%>
|
|
|
|
append_host_config:
|
|
"<%= @host[:name] %>":
|
|
<%= @host[:append_host_config].chomp %>
|
|
|