summaryrefslogtreecommitdiffstats
path: root/puppet-infracloud/modules
diff options
context:
space:
mode:
Diffstat (limited to 'puppet-infracloud/modules')
-rw-r--r--puppet-infracloud/modules/opnfv/manifests/server.pp8
1 files changed, 8 insertions, 0 deletions
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'))
}