Try some thing

This commit is contained in:
Micke Nordin 2023-02-28 10:27:22 +01:00
parent 08e8cdcdaa
commit 2ce8d1c01c
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -118,7 +118,8 @@ mysql_query_rules =
# - The MySQL user must be created first in the DB server and grant it to access from this ProxySQL host
mysql_users =
(
<%- @customers.each do |customer| -%>
<%- @customers.each do |index, customer| -%>
{ username = "nextcloud_<%= customer %>", password = "<%= hiera(customer + '_mysql_user_password') %>", default_hostgroup = 10, transaction_persistent = <%= @transaction_persistent %>, active = 1 },
<%- end -%>
)