CentOS: Remove workaround for missing selinux rule

This removes the workaround to add missing selinux rule. The bug in
openstack-sexlinux[1] was already fixed and we no longer need to
add the rule additionally.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1396553

Change-Id: I979d2c30fb0a0c7f456dff6376bf91ef141e86a2
This commit is contained in:
Takashi Kajinami 2023-02-05 00:54:53 +09:00
parent e5c3e2756d
commit 15c5b7148c
1 changed files with 0 additions and 9 deletions

View File

@ -160,15 +160,6 @@ class heat::wsgi::apache_api_cfn (
validate_legacy(Integer, 'validate_integer', $port)
# Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1396553
if $::osfamily == 'RedHat' and $port == 8000 and $::selinux {
exec { "semanage port -m -t http_port_t -p tcp ${port}":
unless => "semanage port -l | grep -q \"http_port_t.*${port}\"",
path => ['/usr/bin', '/usr/sbin'],
notify => Heat::Wsgi::Apache['api_cfn'],
}
}
heat::wsgi::apache { 'api_cfn':
port => $port,
servername => $servername,