Fix typo with vncserver_listen and internal_address
If vncserver_listen is not set, it should properly fall back to internal_address_real. This fixes an issue with libvirt trying to resolve 'False' as a hostname: getaddrinfo(False,5900): Name or service not known Change-Id: I072aceb4e61c8714b3b0d272c19d10e295fc2eae Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
This commit is contained in:
@@ -248,7 +248,7 @@ class openstack::all (
|
||||
if $vncserver_listen {
|
||||
$vncserver_listen_real = $vncserver_listen
|
||||
} else {
|
||||
$vncserver_listen_real = $internal_address
|
||||
$vncserver_listen_real = $internal_address_real
|
||||
}
|
||||
if $glance_api_servers {
|
||||
$glance_api_servers_real = $glance_api_servers
|
||||
|
@@ -343,7 +343,7 @@ describe 'openstack::all' do
|
||||
it 'should have nova::compute::libvirt configured' do
|
||||
should contain_class('nova::compute::libvirt').with(
|
||||
:libvirt_type => 'kvm',
|
||||
:vncserver_listen => false,
|
||||
:vncserver_listen => '10.0.0.1',
|
||||
:migration_support => false
|
||||
)
|
||||
end
|
||||
|
Reference in New Issue
Block a user