Only set special_service_provider on RHEL.

Updates the params.pp so that special_service_provider is set
to 'init' on RHEL only. This gets used to startup libvirtd.

This fixes issues using the Nova compute/libvirt module on
Fedora.

Change-Id: I81f6a50a10f8e16e5d54b93724258a977c35d61f
This commit is contained in:
Dan Prince 2013-04-05 10:48:35 -04:00
parent 999af24d95
commit e2dc97196d
1 changed files with 8 additions and 1 deletions

View File

@ -33,10 +33,17 @@ class nova::params {
$tgt_service_name = 'tgtd'
$vncproxy_service_name = 'openstack-nova-novncproxy'
$volume_service_name = 'openstack-nova-volume'
$special_service_provider = 'init'
# redhat specific config defaults
$root_helper = 'sudo nova-rootwrap'
$lock_path = '/var/lib/nova/tmp'
case $::operatingsystem {
'RedHat': {
$special_service_provider = 'init'
}
default: {
$special_service_provider = undef
}
}
}
'Debian': {
# package names