Try to string method

This commit is contained in:
Micke Nordin 2023-02-28 10:37:01 +01:00
parent bd9e48eca8
commit ceb28450ee
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -120,6 +120,6 @@ mysql_users =
( (
<%- @customers.each do |index, customer| -%> <%- @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 -%> <%- end -%>
) )