Try to string method
This commit is contained in:
parent
bd9e48eca8
commit
ceb28450ee
|
@ -120,6 +120,6 @@ mysql_users =
|
|||
(
|
||||
|
||||
<%- @customers.each do |index, customer| -%>
|
||||
{ username = "nextcloud_<%= customer %>", password = "<%= hiera(customer + '_mysql_user_password') %>", default_hostgroup = 10, transaction_persistent = <%= @transaction_persistent %>, active = 1 },
|
||||
{ username = "nextcloud_<%= customer %>", password = "<%= hiera(customer.to_s + '_mysql_user_password') %>", default_hostgroup = 10, transaction_persistent = <%= @transaction_persistent %>, active = 1 },
|
||||
<%- end -%>
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue