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:
François Charlier 2013-05-14 09:36:28 +02:00
parent 3e4835f340
commit ff2c6fc3b9

View File

@ -21,10 +21,10 @@ class swift::params {
$account_reaper_service_name = 'swift-account-reaper'
$account_replicator_service_name = 'swift-account-replicator'
$swift3 = 'swift-plugin-s3'
if $::operatingsystem == 'Debian' {
$service_proivider = 'debian'
if $::operatingsystem == 'Ubuntu' {
$service_provider = 'upstart'
} else {
$service_provider = 'upstart'
$service_provider = undef
}
}
'RedHat': {