No longer define libvirt_cpu_mode

If the libvirt_virt_type was qemu, we'd set it to none and otherwise
pass an undefined variable to puppet-nova.
The default from puppet-nova is sane, let's rely on it instead.

Change-Id: I9baf60ca04765d096bb1dc8ecafafba9adefa9df
This commit is contained in:
David Moreau-Simard 2016-08-17 17:43:11 -04:00
parent a6c5f9d1de
commit df00bfcf1a
1 changed files with 0 additions and 2 deletions

View File

@ -7,7 +7,6 @@ class packstack::nova::compute::libvirt ()
if str2bool($::is_virtual) {
$libvirt_virt_type = 'qemu'
$libvirt_cpu_mode = 'none'
} else {
$libvirt_virt_type = 'kvm'
}
@ -35,7 +34,6 @@ class packstack::nova::compute::libvirt ()
class { '::nova::compute::libvirt':
libvirt_virt_type => $libvirt_virt_type,
libvirt_cpu_mode => $libvirt_cpu_mode,
vncserver_listen => $libvirt_vnc_bind_host,
migration_support => true,
libvirt_inject_partition => '-1',