Fix unit tests for apt module
This change include the declaration of the lsbdisrelease fact for debian based systems due to the usage in puppetlabs-apt 2.3.0. Previously this fact was not used so tests passed under Puppet 4.5+. Change-Id: Id1b5362ea088ce1978e78e4b14159e2310c19825
This commit is contained in:
parent
46486f15a1
commit
69dc5e3a5f
@ -25,7 +25,8 @@ describe 'openstack_extras::repo::debian::debian' do
|
||||
@default_facts.merge({
|
||||
:osfamily => 'Debian',
|
||||
:operatingsystem => 'Debian',
|
||||
:lsbdistid => 'Debian'
|
||||
:lsbdistid => 'Debian',
|
||||
:lsbdistrelease => '8'
|
||||
})
|
||||
end
|
||||
|
||||
|
@ -26,7 +26,8 @@ describe 'openstack_extras::repo::debian::ubuntu' do
|
||||
:osfamily => 'Debian',
|
||||
:operatingsystem => 'Ubuntu',
|
||||
:lsbdistid => 'Ubuntu',
|
||||
:lsbdistcodename => 'trusty'
|
||||
:lsbdistcodename => 'trusty',
|
||||
:lsbdistrelease => '14.04'
|
||||
})
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user