Acceptance: use common bits from puppet-openstack-integration

Change-Id: Idc65b204bd1a3548280855823014c3b32f3a0484
This commit is contained in:
Emilien Macchi 2015-11-18 17:57:58 +01:00
parent 519e3e0b37
commit 93b54f518f

View File

@ -6,26 +6,8 @@ describe 'horizon class' do
it 'should work with no errors' do
pp= <<-EOS
Exec { logoutput => 'on_failure' }
case $::osfamily {
'Debian': {
include ::apt
class { '::openstack_extras::repo::debian::ubuntu':
release => 'liberty',
package_require => true,
}
}
'RedHat': {
class { '::openstack_extras::repo::redhat::redhat':
release => 'liberty',
}
package { 'openstack-selinux': ensure => 'latest' }
}
default: {
fail("Unsupported osfamily (${::osfamily})")
}
}
include ::openstack_integration
include ::openstack_integration::repos
class { '::horizon':
secret_key => 'big_secret',