Do not pass the pgsql_password variable to ejabberd.yml

The password is only used in the config files for the vhosts
This commit is contained in:
Greg Karékinian 2020-06-10 18:37:36 +02:00
parent 81403b7cb9
commit 091a46e972

View File

@ -152,8 +152,7 @@ template "/opt/ejabberd/conf/ejabberd.yml" do
source "ejabberd.yml.erb" source "ejabberd.yml.erb"
mode 0640 mode 0640
sensitive true sensitive true
variables pgsql_password: postgresql_data_bag_item['ejabberd_user_password'], variables hosts: hosts,
hosts: hosts,
admin_users: admin_users, admin_users: admin_users,
stun_auth_realm: "kosmos.org", stun_auth_realm: "kosmos.org",
turn_ip_address: node['ipaddress'], turn_ip_address: node['ipaddress'],