fix trocla function lookup in template, without this, you get:
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template mysql/root/my.cnf.erb: undefined method `function_trocla' for #<Puppet::Parser::Scope:0xf6457e2c> at /etc/puppet/modules/mysql/manifests/server/base.pp:50 on node
This commit is contained in:
parent
9e22feaca0
commit
9db98da33c
1 changed files with 1 additions and 1 deletions
|
@ -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) %>
|
||||
|
|
Loading…
Reference in a new issue