Fix unit tests against Puppet 4.3.0

Related-bug: #1517805
Change-Id: I19e891ecce2bceb20e141199e14333f01b0ec9ab
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
This commit is contained in:
Gael Chamoulaud 2015-11-24 10:02:50 +01:00
parent acd95e6a3a
commit da26542fbb
8 changed files with 16 additions and 8 deletions

View File

@ -400,6 +400,7 @@ describe 'glance::api' do
let :facts do
@default_facts.merge({
:osfamily => 'RedHat',
:operatingsystemrelease => '7',
})
end
let(:params) { default_params }

View File

@ -90,6 +90,7 @@ describe 'glance::backend::cinder' do
let :facts do
@default_facts.merge({
:osfamily => 'RedHat',
:operatingsystemrelease => '7',
})
end

View File

@ -90,6 +90,7 @@ describe 'glance::backend::vsphere' do
let :facts do
@default_facts.merge({
:osfamily => 'RedHat',
:operatingsystemrelease => '7',
})
end

View File

@ -60,6 +60,7 @@ describe 'glance::cache::cleaner' do
let :facts do
@default_facts.merge({
:osfamily => 'RedHat',
:operatingsystemrelease => '7',
})
end
include_examples 'glance cache cleaner'

View File

@ -60,6 +60,7 @@ describe 'glance::cache::pruner' do
let :facts do
@default_facts.merge({
:osfamily => 'RedHat',
:operatingsystemrelease => '7',
})
end
include_examples 'glance cache pruner'

View File

@ -25,6 +25,7 @@ describe 'glance::client' do
let :facts do
@default_facts.merge({
:osfamily => 'RedHat',
:operatingsystemrelease => '7',
})
end
include_examples 'glance client'

View File

@ -295,6 +295,7 @@ describe 'glance::registry' do
let :facts do
@default_facts.merge({
:osfamily => 'RedHat',
:operatingsystemrelease => '7',
})
end
let(:params) { default_params }

View File

@ -53,6 +53,7 @@ describe 'glance' do
let :facts do
@default_facts.merge({
:osfamily => 'RedHat',
:operatingsystemrelease => '7',
})
end
let(:params) { default_params }