Files
puppet-nova/spec/hosts/test-001_spec.rb
Tobias Urdin a738129d22 Deprecate nova-consoleauth service
This deprecates the nova-consoleauth service
and the surrounding functionality.

Depends-On: https://review.opendev.org/661262
Change-Id: Ia4d4e411647e039b655fe62edb06afe9c53288cf
2019-05-24 14:19:09 +02:00

25 lines
531 B
Ruby

require 'spec_helper'
describe 'test-001.example.org' do
shared_examples_for 'both services' do
it 'nova::spicehtml5proxy' do
is_expected.to contain_class('nova::spicehtml5proxy')
is_expected.to contain_nova__generic_service('spicehtml5proxy')
end
end
on_supported_os({
:supported_os => OSDefaults.get_supported_os
}).each do |os,facts|
context "on #{os}" do
let (:facts) do
facts.merge!(OSDefaults.get_facts())
end
it_configures 'both services'
end
end
end