certbot/certbot-apache/certbot_apache
Joona Hoikkala fb1aafb5d2 Use distro library for all OS version detection (#7467)
This pull request ensures that we use distro package in all the distribution version detection. It also replaces the custom systemd /etc/os-release parsing and adds a few version fingerprints to Apache override selection.

Fixes: #7405

* Revert "Try to use platform.linux_distribution() before distro equivalent (#7403)"

This reverts commit ca3077d034.

* Use distro for all os detection code

* Address review comments

* Add changelog entry

* Added tests

* Fix tests to return a consistent os name

* Do not crash on non-linux systems

* Minor fixes to distro compatibility checks

* Make the tests OS independent

* Update certbot/util.py

Co-Authored-By: Brad Warren <bmw@users.noreply.github.com>

* Skip linux specific tests on other platforms

* Test fixes

* Better test state handling

* Lower the coverage target for Windows tests
2019-11-01 10:51:21 -07:00
..
augeas_lens Update Augeas lens to fix some Apache configuration parsing issues (#6438) 2018-10-31 09:34:14 -07:00
tests Remove references to TLS-SNI-01 outside of ACME (#7479) 2019-10-31 10:17:29 -07:00
__init__.py s/Let's Encrypt/Certbot certbot-apache 2016-04-13 16:36:53 -07:00
apache_util.py Revert disabling TLS session tickets in Apache (#7315) 2019-08-08 16:23:37 -07:00
centos-options-ssl-apache.conf Revert disabling TLS session tickets in Apache (#7315) 2019-08-08 16:23:37 -07:00
configurator.py Revert disabling TLS session tickets in Apache (#7315) 2019-08-08 16:23:37 -07:00
constants.py Disable TLS session tickets for Apache 2.4.11+ (#7191) 2019-07-29 22:54:51 +03:00
display_ops.py [Windows] Security model for files permissions - STEP 2 (#6895) 2019-04-12 13:32:51 -07:00
entrypoint.py Use distro library for all OS version detection (#7467) 2019-11-01 10:51:21 -07:00
http_01.py Deprecate certbot.plugins.common.TLSSNI01 (#7477) 2019-10-30 15:19:38 -07:00
obj.py Fix Pylint upgrade issues 2018-05-16 20:37:39 +00:00
options-ssl-apache.conf Revert disabling TLS session tickets in Apache (#7315) 2019-08-08 16:23:37 -07:00
override_arch.py Revert disabling TLS session tickets in Apache (#7315) 2019-08-08 16:23:37 -07:00
override_centos.py Revert disabling TLS session tickets in Apache (#7315) 2019-08-08 16:23:37 -07:00
override_darwin.py Revert disabling TLS session tickets in Apache (#7315) 2019-08-08 16:23:37 -07:00
override_debian.py Revert disabling TLS session tickets in Apache (#7315) 2019-08-08 16:23:37 -07:00
override_fedora.py Revert disabling TLS session tickets in Apache (#7315) 2019-08-08 16:23:37 -07:00
override_gentoo.py Revert disabling TLS session tickets in Apache (#7315) 2019-08-08 16:23:37 -07:00
override_suse.py Revert disabling TLS session tickets in Apache (#7315) 2019-08-08 16:23:37 -07:00
parser.py Refactor augeas_configurator.py functionality to configurator.py and parser.py accordingly. (#7181) 2019-06-28 08:39:13 -07:00