Use mysql::server::root_password instead of @options.
This commit is contained in:
parent
f0cde6bfe1
commit
0e7e415029
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
[client]
|
||||
user=root
|
||||
host=localhost
|
||||
<% unless @options['root_password'] == 'UNSET' -%>
|
||||
password='<%= @options['root_password'] %>'
|
||||
<% unless scope.lookupvar('mysql::server::root_password') == 'UNSET' -%>
|
||||
password='<%= scope.lookupvar('mysql::server::root_password') %>'
|
||||
<% end -%>
|
||||
socket=<%= @options['client']['socket'] -%>
|
||||
|
|
Loading…
Reference in a new issue