Displaying 1 result from an estimated 1 matches for "mysql_set_root_password".
2007 Jul 19
2
Problem to make service/package has installed and started before "exec" task
...erver": ensure => installed }
service { mysqld:
ensure => true,
enable => true,
require => [ Package["mysql"],
Package["mysql-server"] ],
subscribe => [ Package["mysql"],
Package["mysql-server"] ],
before => exec["mysql_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 -uroo...