diff options
author | 2016-09-01 08:37:29 +0000 | |
---|---|---|
committer | 2016-09-01 08:37:29 +0000 | |
commit | fcca04ef6b382db87e76540052bc57e8df593692 (patch) | |
tree | 34a1b817e37918b996df23fbe61b0206cedd992f /prototypes/puppet-infracloud/modules/opnfv/manifests/controller.pp | |
parent | 58fe337566ad5ecead81623ec9f5c575e79654cb (diff) | |
parent | fad004c161b166ccca4b8230d40d447c63ba8af4 (diff) |
Merge "Disable selinux on RHEL case"
Diffstat (limited to 'prototypes/puppet-infracloud/modules/opnfv/manifests/controller.pp')
-rw-r--r-- | prototypes/puppet-infracloud/modules/opnfv/manifests/controller.pp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/prototypes/puppet-infracloud/modules/opnfv/manifests/controller.pp b/prototypes/puppet-infracloud/modules/opnfv/manifests/controller.pp index 7522692c1..4bae42cf7 100644 --- a/prototypes/puppet-infracloud/modules/opnfv/manifests/controller.pp +++ b/prototypes/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, |