diff options
Diffstat (limited to 'puppet-infracloud')
-rw-r--r-- | puppet-infracloud/modules/opnfv/manifests/compute.pp | 8 | ||||
-rw-r--r-- | puppet-infracloud/modules/opnfv/manifests/controller.pp | 8 |
2 files changed, 16 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, diff --git a/puppet-infracloud/modules/opnfv/manifests/controller.pp b/puppet-infracloud/modules/opnfv/manifests/controller.pp index 7522692c..4bae42cf 100644 --- a/puppet-infracloud/modules/opnfv/manifests/controller.pp +++ b/puppet-infracloud/modules/opnfv/manifests/controller.pp @@ -30,6 +30,14 @@ 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, |