module-puppetlabs-mysql/templates/my.cnf.pass.erb

7 lines
228 B
Text

[client]
user=root
host=localhost
<% unless scope.lookupvar('mysql::server::root_password') == 'UNSET' -%>
password='<%= scope.lookupvar('mysql::server::root_password') %>'
<% end -%>
socket=<%= @options['client']['socket'] -%>