packstack/packstack/puppet/modules/packstack/manifests/nova/vncproxy.pp

24 lines
496 B
Puppet

class packstack::nova::vncproxy ()
{
$vnc_bind_host = hiera('CONFIG_IP_VERSION') ? {
'ipv6' => '::0',
default => '0.0.0.0',
# TO-DO(mmagr): Add IPv6 support when hostnames are used
}
class { '::nova::vncproxy':
enabled => true,
host => $vnc_bind_host,
}
class { '::nova::consoleauth':
enabled => true,
}
firewall { '001 novncproxy incoming':
proto => 'tcp',
dport => ['6080'],
action => 'accept',
}
}