Acceptance: use common bits from puppet-openstack-integration

Change-Id: I5e81294345261d572b245ff6015a9f7c7de9582a
This commit is contained in:
Emilien Macchi 2015-11-19 11:38:39 +01:00
parent 30a503459a
commit cdeede97b9
1 changed files with 2 additions and 8 deletions

View File

@ -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