summaryrefslogtreecommitdiff
path: root/templates/root/my.cnf.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/root/my.cnf.erb')
-rw-r--r--templates/root/my.cnf.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/root/my.cnf.erb b/templates/root/my.cnf.erb
index fbc8a0e..26ced1e 100644
--- a/templates/root/my.cnf.erb
+++ b/templates/root/my.cnf.erb
@@ -1,4 +1,4 @@
[client]
user=root
host=localhost
-password=<%= scope.function_trocla("mysql_root_#{scope.lookupvar('::fqdn')}",'plain', 'length' => 32) %>
+password=<%= Puppet::Parser::Functions.function('trocla');'' %><%= scope.function_trocla("mysql_root_#{scope.lookupvar('::fqdn')}",'plain', 'length' => 32) %>