Merge "Add retry for setting MySQL password" into stable/4.1

This commit is contained in:
Jenkins 2014-06-02 16:48:29 +00:00 committed by Gerrit Code Review
commit 2e7f6c8f98
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,8 @@ class mysql::password (
logoutput => true,
unless => "mysqladmin -u root -p${root_password} status > /dev/null",
path => '/usr/local/sbin:/usr/bin:/usr/local/bin',
tries => 10,
try_sleep => 3,
}
if $etc_root_password {