summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-02-10 15:04:40 +0100
committermh <mh@immerda.ch>2012-02-10 15:04:40 +0100
commit64e116cfb5a4247f2e763a3d26354099f3f66f27 (patch)
tree73014852a03c66bdecfc20b211d800f3933ad132
parent4ac736951588128005348a48f6bf20092000a2ea (diff)
correct key for trocla lookup
-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 9a67c2f..fbc8a0e 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_rootpw_#{scope.lookupvar('::fqdn')}",'plain', 'length' => 32) %>
+password=<%= scope.function_trocla("mysql_root_#{scope.lookupvar('::fqdn')}",'plain', 'length' => 32) %>