Puppet Class: openstack::profile::nova::compute
- Defined in:
- manifests/profile/nova/compute.pp
Overview
The puppet module to set up a Nova Compute node
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'manifests/profile/nova/compute.pp', line 2
class openstack::profile::nova::compute {
$management_network = hiera('openstack::network::management')
$management_address = ip_for_network($management_network)
class { 'openstack::common::nova':
is_compute => true,
}
class { '::nova::compute::libvirt':
libvirt_type => hiera('openstack::nova::libvirt_type'),
vncserver_listen => $management_address,
}
file { '/etc/libvirt/qemu.conf':
ensure => present,
source => 'puppet:///modules/openstack/qemu.conf',
mode => '0644',
notify => Service['libvirt'],
}
Package['libvirt'] -> File['/etc/libvirt/qemu.conf']
}
|