Stop disabling selinux 85/20785/1
authorYolanda Robla Mota <yroblamo@redhat.com>
Fri, 9 Sep 2016 15:26:33 +0000 (17:26 +0200)
committerYolanda Robla Mota <yroblamo@redhat.com>
Fri, 9 Sep 2016 15:28:36 +0000 (17:28 +0200)
It is already disabled in origin in puppet-infracloud,
and it is causing an error with duplicates now.

Change-Id: Ie40232c03138f1c8a1516895828c6cfd5730f9f7
Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
prototypes/puppet-infracloud/modules/opnfv/manifests/compute.pp
prototypes/puppet-infracloud/modules/opnfv/manifests/controller.pp

index 77908c0..ca548a5 100644 (file)
@@ -8,14 +8,6 @@ class opnfv::compute (
   $controller_public_address,
   $virt_type = 'kvm',
 ) {
-  # disable selinux if needed
-  if $::osfamily == 'RedHat' {
-    class { 'selinux':
-      mode   => 'permissive',
-      before => Class['::infracloud::compute'],
-    }
-  }
-
   class { '::infracloud::compute':
     nova_rabbit_password          => $nova_rabbit_password,
     neutron_rabbit_password       => $neutron_rabbit_password,
index 4bae42c..7522692 100644 (file)
@@ -30,14 +30,6 @@ class opnfv::controller (
   $opnfv_password,
   $opnfv_email = 'opnfvuser@gmail.com',
 ) {
-  # disable selinux if needed
-  if $::osfamily == 'RedHat' {
-    class { 'selinux':
-      mode   => 'permissive',
-      before => Class['::infracloud::controller'],
-    }
-  }
-
   class { '::infracloud::controller':
     keystone_rabbit_password         => $keystone_rabbit_password,
     neutron_rabbit_password          => $neutron_rabbit_password,