1 # == Class: nova::spice
3 # Configure spicehtml5 proxy
5 # SPICE is a new protocol which aims to address all the limitations in VNC,
6 # to provide good remote desktop support. This class aim to configure the nova
7 # services in charge of proxing websocket spicehtml5 request to kvm spice
12 # (optional) enable spicehtml5proxy service
16 # (optional) Whether to start/stop the service
20 # (optional) Listen address for the html5 console proxy
24 # (optional) Listen port for the html5 console proxy
28 # (optional) Ensure package state
29 # Defaults to 'present'
31 class nova::spicehtml5proxy(
33 $manage_service = true,
36 $ensure_package = 'present'
42 'DEFAULT/spicehtml5proxy_host': value => $host;
43 'DEFAULT/spicehtml5proxy_port': value => $port;
46 nova::generic_service { 'spicehtml5proxy':
48 manage_service => $manage_service,
49 package_name => $::nova::params::spicehtml5proxy_package_name,
50 service_name => $::nova::params::spicehtml5proxy_service_name,
51 ensure_package => $ensure_package,