Fix a typo to define Debian's service provider.
Plus, the special case being Ubuntu, set a special service provider on Ubuntu and keep undef for Debian, which is the way it behaved because of the typo :) Change-Id: I724ac07c96de6b9242721fb2915805024646c769
This commit is contained in:
@@ -21,10 +21,10 @@ class swift::params {
|
|||||||
$account_reaper_service_name = 'swift-account-reaper'
|
$account_reaper_service_name = 'swift-account-reaper'
|
||||||
$account_replicator_service_name = 'swift-account-replicator'
|
$account_replicator_service_name = 'swift-account-replicator'
|
||||||
$swift3 = 'swift-plugin-s3'
|
$swift3 = 'swift-plugin-s3'
|
||||||
if $::operatingsystem == 'Debian' {
|
if $::operatingsystem == 'Ubuntu' {
|
||||||
$service_proivider = 'debian'
|
$service_provider = 'upstart'
|
||||||
} else {
|
} else {
|
||||||
$service_provider = 'upstart'
|
$service_provider = undef
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
'RedHat': {
|
'RedHat': {
|
||||||
|
Reference in New Issue
Block a user