Move the admin users to the ejabberd encrypted data bag

This commit is contained in:
Greg Karékinian
2020-02-14 13:56:17 +01:00
parent 49d01991fd
commit dc1226073c
2 changed files with 11 additions and 11 deletions

View File

@@ -122,14 +122,7 @@ ldap_domain = node['kosmos-dirsrv']['master_hostname']
ldap_encryption_type = node.chef_environment == "development" ? "none" : "tls"
ldap_base = "cn=users,dc=kosmos,dc=org"
admin_users = [
"greg@5apps.com",
"sebastian@5apps.com",
"garret@5apps.com",
"raucao@kosmos.org",
"greg@kosmos.org",
"galfert@kosmos.org"
]
admin_users = ejabberd_credentials['admins']
template "/opt/ejabberd/conf/ejabberd.yml" do
source "ejabberd.yml.erb"