
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
22 lines
473 B
Ruby
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
|