diff --git a/templates/multinode/proxysql.cnf.erb b/templates/multinode/proxysql.cnf.erb index 29ff693..97cd3fb 100644 --- a/templates/multinode/proxysql.cnf.erb +++ b/templates/multinode/proxysql.cnf.erb @@ -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 -%> )