diff --git a/spec/acceptance/horizon_with_apache_spec.rb b/spec/acceptance/horizon_with_apache_spec.rb index 3ffc0983..25ce2fb4 100644 --- a/spec/acceptance/horizon_with_apache_spec.rb +++ b/spec/acceptance/horizon_with_apache_spec.rb @@ -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',