module-puppetlabs-mysql/templates/my.cnf.pass.erb
Ewoud Kohl van Wijngaarden 59a6fb8097 Quote the password
It is possible to have a # in a password, which is parsed as a comment.
By quoting the password this is no problem.
2013-06-26 11:47:11 +02:00

6 lines
118 B
Text

[client]
user=root
host=localhost
<% unless @root_password == 'UNSET' -%>
password='<%= @root_password %>'
<% end -%>