diff options
author | Yolanda Robla Mota <yroblamo@redhat.com> | 2016-10-14 16:16:50 +0200 |
---|---|---|
committer | Yolanda Robla Mota <yroblamo@redhat.com> | 2016-10-14 16:17:44 +0200 |
commit | d6f8691b4ab5c207fc872d9c351af8435107108e (patch) | |
tree | 3c62ed6d8e3f187339e704e73c0a23d983fa3e2d /prototypes/puppet-infracloud/modules | |
parent | 8fa88f234e8db6618540c950007b8fbf575855d4 (diff) |
Disable selinux for RHEL
It is causing some unexpected permission errors if
that is enabled.
Change-Id: I96c3131a55a1b7c83a655738938645f537ab48f6
Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
Diffstat (limited to 'prototypes/puppet-infracloud/modules')
-rw-r--r-- | prototypes/puppet-infracloud/modules/opnfv/manifests/server.pp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/prototypes/puppet-infracloud/modules/opnfv/manifests/server.pp b/prototypes/puppet-infracloud/modules/opnfv/manifests/server.pp index a1e7d5d0e..6b608a7a7 100644 --- a/prototypes/puppet-infracloud/modules/opnfv/manifests/server.pp +++ b/prototypes/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')) } |