From f7a3670d87a2bd1ac8db10c9633c8e2e4873657e Mon Sep 17 00:00:00 2001 From: Tiago Pasqualini da Silva Date: Fri, 20 Dec 2019 02:05:18 +0000 Subject: [PATCH] Revert "Disable Apache default ports" This reverts commit 235ef232df3f67d0d091800510df81f05f5c0198. Change-Id: Iebd50c664273ed7178e3ec590c30eee66760b9df --- lib/swift_utils.py | 5 ----- templates/ports.conf | 1 - 2 files changed, 6 deletions(-) delete mode 100644 templates/ports.conf diff --git a/lib/swift_utils.py b/lib/swift_utils.py index 4b3ed40..61893de 100644 --- a/lib/swift_utils.py +++ b/lib/swift_utils.py @@ -93,7 +93,6 @@ MEMCACHED_CONF = '/etc/memcached.conf' SWIFT_RINGS_CONF = '/etc/apache2/conf.d/swift-rings' SWIFT_RINGS_24_CONF = '/etc/apache2/conf-available/swift-rings.conf' HAPROXY_CONF = '/etc/haproxy/haproxy.cfg' -APACHE_PORTS_CONF = '/etc/apache2/ports.conf' APACHE_SITES_AVAILABLE = '/etc/apache2/sites-available' APACHE_SITE_CONF = os.path.join(APACHE_SITES_AVAILABLE, 'openstack_https_frontend') @@ -200,10 +199,6 @@ CONFIG_FILES = OrderedDict([ 'hook_contexts': [MemcachedContext()], 'services': ['memcached'], }), - (APACHE_PORTS_CONF, { - 'contexts': [], - 'services': ['apache2'], - }), ]) diff --git a/templates/ports.conf b/templates/ports.conf deleted file mode 100644 index b46c728..0000000 --- a/templates/ports.conf +++ /dev/null @@ -1 +0,0 @@ -#File written by Juju: leave default ports closed (see LP 1845665).