1 # == Class: nova::compute::spice
3 # Configure spice on the compute side
8 # (optional) enable spice guest agent support
12 # (optional) IP address on which instance spice servers should listen
15 # [*server_proxyclient_address*]
16 # (optional) Management IP Address on which instance spiceservers will
17 # listen on the compute host.
18 # Defaults to '127.0.0.1'
21 # (optional) keymap for spice
25 # (optional) Host for the html5 console proxy
29 # (optional) Port for the html5 console proxy
33 # (optional) Protocol for the html5 console proxy
37 # (optional) Path of the spice html file for the html5 console proxy
38 # Defaults to '/spice_auto.html'
40 class nova::compute::spice(
41 $agent_enabled = true,
42 $server_listen = undef,
43 $server_proxyclient_address = '127.0.0.1',
46 $proxy_protocol = 'http',
48 $proxy_path = '/spice_auto.html'
52 $html5proxy_base_url = "${proxy_protocol}://${proxy_host}:${proxy_port}${proxy_path}"
54 'spice/html5proxy_base_url': value => $html5proxy_base_url;
59 'spice/enabled': value => true;
60 'spice/agent_enabled': value => $agent_enabled;
61 'spice/server_listen': value => $server_listen;
62 'spice/server_proxyclient_address': value => $server_proxyclient_address;
63 'spice/keymap': value => $keymap;