Displaying 1 result from an estimated 1 matches for "mysqladmin_bin".
2007 Jul 19
2
Problem to make service/package has installed and started before "exec" task
...ql_set_root_password"]
}
exec { "Set MySQL server root password":
subscribe => [ Package["mysql-server"], Package["mysql"] ],
require => [ Package["mysql-server"], Package["mysql"] ],
refreshonly => true,
unless => "$mysqladmin_bin -uroot -p$mysqladmin_password status",
path => "/bin:/usr/bin",
command => "$mysqladmin_bin -uroot password $mysqladmin_password",
alias => "mysql_set_root_password"
}
}
Barrow Kwan
_______________________________________________
Puppet-us...