From 93b54f518f4eb283191478d5b2d0b1f9fd9e6389 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Wed, 18 Nov 2015 17:57:58 +0100 Subject: [PATCH] Acceptance: use common bits from puppet-openstack-integration Change-Id: Idc65b204bd1a3548280855823014c3b32f3a0484 --- spec/acceptance/horizon_with_apache_spec.rb | 22 ++------------------- 1 file changed, 2 insertions(+), 20 deletions(-) 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',