Deprecate support of Apache 2.2 in certbot-apache (#8516)

Fixes #8462

* Deprecate support of Apache 2.2 in certbot-apache

* Add a changelog
This commit is contained in:
Adrien Ferrand
2020-12-10 12:57:13 -08:00
committed by GitHub
parent 878c3e396f
commit e9a96f5e2a
2 changed files with 5 additions and 0 deletions
@@ -327,6 +327,9 @@ class ApacheConfigurator(common.Installer):
if self.version < (2, 2):
raise errors.NotSupportedError(
"Apache Version {0} not supported.".format(str(self.version)))
elif self.version < (2, 4):
logger.warning('Support for Apache 2.2 is deprecated and will be removed in a '
'future release.')
# Recover from previous crash before Augeas initialization to have the
# correct parse tree from the get go.