From: Yolanda Robla Mota Date: Fri, 14 Oct 2016 14:16:50 +0000 (+0200) Subject: Disable selinux for RHEL X-Git-Tag: 6.0.0~456 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=0ebc507b5147e966f02d677ca7050e8cd1911d88;p=releng-xci.git Disable selinux for RHEL It is causing some unexpected permission errors if that is enabled. Change-Id: I96c3131a55a1b7c83a655738938645f537ab48f6 Signed-Off-By: Yolanda Robla --- diff --git a/puppet-infracloud/modules/opnfv/manifests/server.pp b/puppet-infracloud/modules/opnfv/manifests/server.pp index a1e7d5d0..6b608a7a 100644 --- a/puppet-infracloud/modules/opnfv/manifests/server.pp +++ b/puppet-infracloud/modules/opnfv/manifests/server.pp @@ -239,5 +239,13 @@ class opnfv::server ( multiple => true, } + # disable selinux in case of RHEL + if ($::osfamily == 'RedHat') { + class { 'selinux': + mode => 'disabled', + } + } + + # update hosts create_resources('host', hiera_hash('hosts')) }