Ubuntu vivid should use systemd not upstart

This commit is contained in:
Gabriel Baker 2015-10-15 22:05:16 +01:00
parent 87b7e4de9c
commit 681d4f856f

View file

@ -351,7 +351,11 @@ class mysql::params {
case $::operatingsystem {
'Ubuntu': {
$server_service_provider = upstart
if versioncmp($::operatingsystemmajrelease, '14.10') > 0 {
$server_service_provider = 'systemd'
} else {
$server_service_provider = 'upstart'
}
}
default: {
$server_service_provider = undef