Chef recipes for Kosmos XMPP server #32

Merged
raucao merged 23 commits from feature/7-ejabberd_rebased_2 into master 2019-05-15 08:46:19 +00:00
Showing only changes of commit d9390a4b92 - Show all commits

View File

@@ -25,8 +25,11 @@ host_config:
sql_password: "<%= @pgsql_password %>" sql_password: "<%= @pgsql_password %>"
certfiles: certfiles:
<% if File.exist?("/opt/ejabberd/conf/kosmos.org.pem") -%> <% if File.exist?("/opt/ejabberd/conf/kosmos.org.crt") -%>
- "/opt/ejabberd/conf/kosmos.org.pem" - "/opt/ejabberd/conf/kosmos.org.crt"
<% end -%>
<% if File.exist?("/opt/ejabberd/conf/kosmos.org.key") -%>
- "/opt/ejabberd/conf/kosmos.org.key"
<% end -%> <% end -%>
<% if File.exist?("/opt/ejabberd/conf/5apps.com.crt") -%> <% if File.exist?("/opt/ejabberd/conf/5apps.com.crt") -%>
- "/opt/ejabberd/conf/5apps.com.crt" - "/opt/ejabberd/conf/5apps.com.crt"