better dependency

This commit is contained in:
mh 2008-07-14 21:25:55 +00:00
parent 741a6ba1f6
commit b1a03a5f1b

View file

@ -53,7 +53,7 @@ class mysql::server::base {
file{'/var/lib/mysql/data':
ensure => directory,
require => Package[mysql-server],
before => Service[mysql],
before => File['/etc/mysql/my.cnf'],
owner => mysql, group => mysql, mode => 0755;
}