Removing SELINUX class from server manifest
authorRicardo Noriega <rnoriega@redhat.com>
Tue, 17 Jan 2017 11:49:37 +0000 (12:49 +0100)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Fri, 11 Aug 2017 19:56:12 +0000 (12:56 -0700)
  Duplicated in controller.pp

Change-Id: I4817e23cfc1ff3862fc4fe9bc69b8e90c28073cc
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
Co-authored-by: Yolanda Robla <yroblamo@redhat.com>
puppet-infracloud/modules/opnfv/manifests/server.pp

index fc9bf71..d167973 100644 (file)
@@ -239,13 +239,6 @@ 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'))
 }