Acceptance: use common bits from puppet-openstack-integration
Change-Id: I5e81294345261d572b245ff6015a9f7c7de9582a
This commit is contained in:
parent
30a503459a
commit
cdeede97b9
|
@ -6,15 +6,9 @@ describe 'openstack_extras::repo::*' do
|
|||
|
||||
release = 'liberty'
|
||||
it 'should work with no errors' do
|
||||
if fact('operatingsystem') == 'CentOS'
|
||||
operatingsystem = 'redhat'
|
||||
else
|
||||
operatingsystem = fact('operatingsystem').downcase
|
||||
end
|
||||
pp= <<-EOS
|
||||
class { '::openstack_extras::repo::#{fact('osfamily').downcase}::#{operatingsystem}':
|
||||
release => #{release}
|
||||
}
|
||||
include ::openstack_integration
|
||||
include ::openstack_integration::repos
|
||||
EOS
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue