summaryrefslogtreecommitdiffstats
path: root/puppet-infracloud/modules/opnfv/manifests/compute.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet-infracloud/modules/opnfv/manifests/compute.pp')
-rw-r--r--puppet-infracloud/modules/opnfv/manifests/compute.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/puppet-infracloud/modules/opnfv/manifests/compute.pp b/puppet-infracloud/modules/opnfv/manifests/compute.pp
index ca548a5d..77908c0b 100644
--- a/puppet-infracloud/modules/opnfv/manifests/compute.pp
+++ b/puppet-infracloud/modules/opnfv/manifests/compute.pp
@@ -8,6 +8,14 @@ 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,