puppet-openstacklib/spec/classes/openstacklib_defaults_spec.rb
Tobias Urdin 4ef3b1e843 Remove allow_virtual for Package in defaults
We only test and support Puppet 4 and Puppet 5
now and this parameter to the Package resource
defaults to true in these versions making this
unneccesary.

Change-Id: I1459cf5382cd3090c051b25c884399d5cf37d264
2018-05-18 13:49:12 +02:00

22 lines
473 B
Ruby

require 'spec_helper'
describe 'openstacklib::defaults' do
shared_examples 'openstacklib::defaults' do
context 'with defaults' do
it { should contain_class('openstacklib::defaults') }
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_behaves_like 'openstacklib::defaults'
end
end
end