summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-10-19 11:20:54 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-10-19 11:20:54 +0000
commitb31e0d80dda6dd6a346acb9d422dc80eb0c1de1c (patch)
tree30f0bd72335d0def19d83824531e085fdc9c1a49
parentae1a2c2abfbd125af61abffd99bf3582d240c05e (diff)
parentd6f8691b4ab5c207fc872d9c351af8435107108e (diff)
Merge "Disable selinux for RHEL"
-rw-r--r--prototypes/puppet-infracloud/modules/opnfv/manifests/server.pp8
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'))
}