Use numeric index
This commit is contained in:
parent
36d777ff8f
commit
fd61340a4a
1 changed files with 3 additions and 1 deletions
|
@ -119,7 +119,9 @@ mysql_query_rules =
|
|||
mysql_users =
|
||||
(
|
||||
|
||||
<%- @customers.each do |index, customer| -%>
|
||||
<%- index = 0 -%>
|
||||
<%- @customers.each do |customer| -%>
|
||||
{ username = "nextcloud_<%= customer %>", password = "<%= @passwords[index] %>", default_hostgroup = 10, transaction_persistent = <%= @transaction_persistent %>, active = 1 },
|
||||
<%- index += 1 -%>
|
||||
<%- end -%>
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue