Merge pull request #769 from gabriel403/master

Ubuntu vivid should use systemd not upstart
This commit is contained in:
David Schmitt 2015-12-15 16:18:58 +00:00
commit c353259fd9

View file

@ -359,7 +359,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