Acceptance: use common bits from puppet-openstack-integration
Change-Id: Idc65b204bd1a3548280855823014c3b32f3a0484
This commit is contained in:
parent
519e3e0b37
commit
93b54f518f
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user