From 15c5b7148cd67d7b4c321295503c0b05b584667c Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sun, 5 Feb 2023 00:54:53 +0900 Subject: [PATCH] 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 --- manifests/wsgi/apache_api_cfn.pp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/manifests/wsgi/apache_api_cfn.pp b/manifests/wsgi/apache_api_cfn.pp index 9dc332b7..d77e1cf5 100644 --- a/manifests/wsgi/apache_api_cfn.pp +++ b/manifests/wsgi/apache_api_cfn.pp @@ -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,