summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-02-10 14:35:19 +0100
committermh <mh@immerda.ch>2012-02-10 14:35:19 +0100
commit4ac736951588128005348a48f6bf20092000a2ea (patch)
treeba076cb79131c9c4c64d623de7a11a4ac7b4c320 /templates
parenta72ab41660d403f7615eed0e1bf538a3f26cb8da (diff)
migrate everything to hiera/trocla and use the new scoping style
Diffstat (limited to 'templates')
-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 7800843..9a67c2f 100644
--- a/templates/root/my.cnf.erb
+++ b/templates/root/my.cnf.erb
@@ -1,4 +1,4 @@
[client]
user=root
host=localhost
-password=<%= mysql_rootpw %>
+password=<%= scope.function_trocla("mysql_rootpw_#{scope.lookupvar('::fqdn')}",'plain', 'length' => 32) %>