5 Commits

Author SHA1 Message Date
Takashi Kajinami
4e668c52a9 spice: Ensure settings are purged by default
This change ensures the following parameters are purged by default.
 [spice] html5proxy_base_url
 [spice] server_listen

Currently these are left unmanaged by default, thus if a user set any
value then remove it later, puppet does not wipe out the parameter
settings added by the previous run.

Change-Id: I9878a6d2258ba32f44773c1b7c3da3dcac71e2a2
2022-06-25 22:47:19 +09:00
Tobias Urdin
1aaf10e886 Convert to rspec-puppet-facts
Converts those that were missing it.

Change-Id: Ic7821f3a4b2db1123c9ed53a61d740883b02fbe4
2018-12-04 12:39:38 +01:00
Thomas Goirand
26fbc01f53 Fix VNC console in Debian
In Debian, SPICE is the default. Unfortunately, puppet-openstack fails to
set [spice]/enabled = false when VNC is selected, and therefore, both VNC
and SPICE ends up being enabled in nova.conf.

Also, Debian has a unique package nova-consoleproxy handling SPICE, VNC
and the XenVNC console, with /etc/default/nova-consoleproxy being used to
select what daemon to start. As puppet-openstack doesn't set it before
starting the VNC console service, it stays with spicehtml5 as default
value, and therefore, nova-novncproxy cannot start.

This patch fixes both issues.

Change-Id: Ia40805f27e8833fa01576432ae792e1becedd729
2018-06-05 23:35:06 +02:00
Sebastien Badia
b8a187f54c spec: updates for rspec-puppet 2.x and rspec 3.x
This patch aim to update our specs test in order to work with the
rspec-puppet release 2.0.0, in the mean time, we update rspec syntax
order to be prepared for rspec 3.x move.

In details:

 * Upgrade and pin rspec-puppet from 1.0.1 to 2.0.0
 * Use shared_examples "a Puppet::Error" for puppet::error tests *
 * Convert 'should' keyword to 'is_expected.to' (prepare rspec 3.x) *
 * Fix spec tests for rspec-puppet 2.0.0
 * Clean Gemfile (remove over-specificication of runtime deps of puppetlabs_spec_helper)

Change-Id: I172439c6ed185bb38b325b2524cab1475cdc7504
2015-03-19 18:45:08 +01:00
Mehdi Abaakouk
72dc339f7e Add html5 spice support
Change-Id: Idd23170df13bff7f78112fbe72f228bf84112af9
2013-07-25 09:20:09 +02:00