Files
puppet-nova/manifests/compute/libvirt.pp
Dan Bode 23ae273010 Update keystone auth for nova
Remove deprecated service entries for authtoken
config.

Move keystone config from nova class to nova::api
class.
2012-04-23 19:41:56 -07:00

33 lines
825 B
Puppet

class nova::compute::libvirt (
$libvirt_type = 'kvm',
$vncserver_listen = '127.0.0.1'
) {
include nova::params
Service['libvirt'] -> Service['nova-compute']
if($::nova::params::compute_package_name) {
package { "nova-compute-${libvirt_type}":
ensure => present,
before => Package['nova-compute'],
}
}
package { 'libvirt':
name => $::nova::params::libvirt_package_name,
ensure => present,
}
service { 'libvirt' :
name => $::nova::params::libvirt_service_name,
ensure => running,
provider => $::nova::params::special_service_provider,
require => Package['libvirt'],
}
nova_config { 'libvirt_type': value => $libvirt_type }
nova_config { 'connection_type': value => 'libvirt' }
nova_config { 'vncserver_listen': value => $vncserver_listen }
}