Enable LDAP on the kosmos.org vhost
This commit is contained in:
@@ -4,7 +4,7 @@ maintainer_email 'ops@kosmos.org'
|
||||
license 'MIT'
|
||||
description 'Installs/Configures kosmos-ejabberd'
|
||||
long_description 'Installs/Configures kosmos-ejabberd'
|
||||
version '0.1.2'
|
||||
version '0.2.0'
|
||||
chef_version '>= 12.14' if respond_to?(:chef_version)
|
||||
|
||||
# The `issues_url` points to the location where issues for this cookbook are
|
||||
|
||||
@@ -61,7 +61,8 @@ hosts = [
|
||||
{
|
||||
name: "kosmos.org",
|
||||
sql_database: "ejabberd",
|
||||
ldap_enabled: false,
|
||||
ldap_enabled: true,
|
||||
ldap_password: ejabberd_credentials['kosmos_ldap_password'],
|
||||
append_host_config: <<-EOF
|
||||
modules:
|
||||
mod_muc:
|
||||
@@ -134,6 +135,7 @@ hosts.each do |host|
|
||||
ldap_base: ldap_base,
|
||||
ldap_server: ldap_domain,
|
||||
ldap_encryption_type: ldap_encryption_type
|
||||
notifies :run, "execute[ejabberdctl reload_config]", :delayed
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user