Disable SELinux for acceptance tests
Change-Id: Ic43c030225e2ae26113e214f09d998df10bac0fa
(cherry picked from commit cdc5ebf591
)
This commit is contained in:
parent
39517d8e13
commit
5260fe3c27
|
@ -12,6 +12,12 @@ describe 'basic swift' do
|
|||
include ::openstack_integration::mysql
|
||||
include ::openstack_integration::keystone
|
||||
|
||||
exec { 'setenforce 0':
|
||||
path => '/bin:/sbin:/usr/bin:/usr/sbin',
|
||||
onlyif => 'which setenforce && getenforce | grep Enforcing',
|
||||
before => Class['::swift'],
|
||||
}
|
||||
|
||||
package { 'curl': ensure => present }
|
||||
|
||||
class { '::memcached':
|
||||
|
@ -69,7 +75,6 @@ describe 'basic swift' do
|
|||
}
|
||||
EOS
|
||||
|
||||
|
||||
# Need to be run 2 times because we have an exported when creating the ring.
|
||||
apply_manifest(pp, :catch_failures => false)
|
||||
apply_manifest(pp, :catch_failures => true)
|
||||
|
@ -93,6 +98,12 @@ describe 'basic swift' do
|
|||
include ::openstack_integration::mysql
|
||||
include ::openstack_integration::keystone
|
||||
|
||||
exec { 'setenforce 0':
|
||||
path => '/bin:/sbin:/usr/bin:/usr/sbin',
|
||||
onlyif => 'which setenforce && getenforce | grep Enforcing',
|
||||
before => Class['::swift'],
|
||||
}
|
||||
|
||||
package { 'curl': ensure => present }
|
||||
|
||||
class { '::memcached':
|
||||
|
|
Loading…
Reference in New Issue