Try again

This commit is contained in:
Micke Nordin 2023-02-28 13:09:45 +01:00
parent 09a13f6444
commit b60f548e0a
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -57,7 +57,11 @@ proxysql_servers =
<%- index = 0 -%>
<%- @nextcloud_ip.each do |appserver| -%>
<%- index += 1 -%>
{ hostname="<%= appserver %>" , port=6032 , comment="proxysql<%= index %>" },
{
hostname="<%= appserver %>"
port=6032
comment="proxysql<%= index %>"
},
<%- end -%>
)
@ -82,7 +86,12 @@ mysql_galera_hostgroups =
mysql_servers =
(
<%- @db_ip.each do |db| -%>
{ address="<%= db %>" , port=3306 , hostgroup=10, max_connections=100 },
{
address="<%= db %>"
port=3306
hostgroup=10
max_connections=100
},
<%- end -%>
)
@ -121,7 +130,13 @@ mysql_users =
<%- index = 0 -%>
<%- @customers.each do |customer| -%>
{ username="nextcloud_<%= customer %>", password="<%= @passwords[index] %>", default_hostgroup=10, transaction_persistent=<%= @transaction_persistent %>, active=1 },
{
username="nextcloud_<%= customer %>"
password="<%= @passwords[index] %>"
default_hostgroup=10
transaction_persistent=<%= @transaction_persistent %>
active=1
},
<%- index += 1 -%>
<%- end -%>
)