1 # == Class: nova:vncproxy
3 # Configures nova vnc proxy
8 # (optional) Whether to run the vncproxy service
12 # (optional) Whether to start/stop the service
16 # (optional) Host on which to listen for incoming requests
17 # Defaults to '0.0.0.0'
20 # (optional) Port on which to listen for incoming requests
24 # (optional) The state of the nova-novncproxy package
25 # Defaults to 'present'
27 # [*vncproxy_protocol*]
28 # (optional) The protocol to communicate with the VNC proxy server
32 # (optional) The path at the end of the uri for communication with the VNC
34 # Defaults to '/vnc_auto.html'
38 $manage_service = true,
39 $vncproxy_protocol = 'http',
42 $vncproxy_path = '/vnc_auto.html',
43 $ensure_package = 'present'
48 # See http://nova.openstack.org/runnova/vncconsole.html for more details.
51 'DEFAULT/novncproxy_host': value => $host;
52 'DEFAULT/novncproxy_port': value => $port;
55 include ::nova::vncproxy::common
57 if ! defined(Package['python-numpy']) {
58 package { 'python-numpy':
60 name => $::nova::params::numpy_package_name,
63 nova::generic_service { 'vncproxy':
65 manage_service => $manage_service,
66 package_name => $::nova::params::vncproxy_package_name,
67 service_name => $::nova::params::vncproxy_service_name,
68 ensure_package => $ensure_package,
69 require => Package['python-numpy']