Ubuntu vivid should use systemd not upstart
This commit is contained in:
parent
87b7e4de9c
commit
681d4f856f
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue