Disable selinux on RHEL
It is causing troubles on rabbit and linuxbridge, crashing because permission denied errors. Initially disable it to have a working cloud, and add the right settings on future patches to re-enable it. Change-Id: Ibc3303966e7bc450f9d9dbaa4fce7104fcb90635
This commit is contained in:
parent
d96206a4cc
commit
8b0d04ce89
@ -26,7 +26,7 @@ class infracloud::compute(
|
||||
br_name => $br_name,
|
||||
}
|
||||
|
||||
### Repos ###
|
||||
### Repos and selinux ###
|
||||
case $::osfamily {
|
||||
'Debian': {
|
||||
include ::apt
|
||||
@ -54,6 +54,9 @@ class infracloud::compute(
|
||||
release => $openstack_release,
|
||||
package_require => true,
|
||||
}
|
||||
class { '::selinux':
|
||||
mode => 'permissive',
|
||||
}
|
||||
}
|
||||
default: {
|
||||
fail("Unsupported osfamily: ${::osfamily} The 'infracloud' module only supports osfamily Debian or RedHat.")
|
||||
|
@ -42,7 +42,7 @@ class infracloud::controller(
|
||||
br_name => $br_name,
|
||||
}
|
||||
|
||||
### Repos ###
|
||||
### Repos and selinux ###
|
||||
case $::osfamily {
|
||||
'Debian': {
|
||||
include ::apt
|
||||
@ -76,6 +76,9 @@ class infracloud::controller(
|
||||
before => Class['::rabbitmq'],
|
||||
}
|
||||
|
||||
class { '::selinux':
|
||||
mode => 'permissive',
|
||||
}
|
||||
}
|
||||
default: {
|
||||
fail("Unsupported osfamily: ${::osfamily} The 'infracloud' module only supports osfamily Debian or RedHat.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user