Fixed mysql init on Ubuntu and Debian.

This commit is contained in:
Timo Mkinen 2012-01-03 15:15:03 +02:00
parent ed65daf9d8
commit a5f30acd33

View file

@ -63,6 +63,11 @@ class mysql::server {
}
service { "mysqld":
name => $operatingsystem ? {
"ubuntu" => "mysql",
"debian" => "mysql",
default => "mysqld",
},
ensure => running,
enable => true,
require => File["/srv/mysql"],