Merge pull request #769 from gabriel403/master
Ubuntu vivid should use systemd not upstart
This commit is contained in:
commit
c353259fd9
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue