From 2a9e190cf22501236f6a0fbc5978367278dbc9b8 Mon Sep 17 00:00:00 2001 From: LeCoyote Date: Sun, 29 May 2016 15:54:01 +0400 Subject: [PATCH 1/2] Changed Gentoo os_info string See bug #3091 --- certbot-apache/certbot_apache/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certbot-apache/certbot_apache/constants.py b/certbot-apache/certbot_apache/constants.py index ffbedc90b..f73004a81 100644 --- a/certbot-apache/certbot_apache/constants.py +++ b/certbot-apache/certbot_apache/constants.py @@ -80,7 +80,7 @@ CLI_DEFAULTS = { "red hat enterprise linux server": CLI_DEFAULTS_CENTOS, "rhel": CLI_DEFAULTS_CENTOS, "amazon": CLI_DEFAULTS_CENTOS, - "gentoo base system": CLI_DEFAULTS_GENTOO, + "gentoo": CLI_DEFAULTS_GENTOO, "darwin": CLI_DEFAULTS_DARWIN, } """CLI defaults.""" From 8d6502a756a8d949fd6016007e61663086102576 Mon Sep 17 00:00:00 2001 From: LeCoyote Date: Thu, 2 Jun 2016 18:17:21 +0400 Subject: [PATCH 2/2] Update constants.py Add strings for Gentoo: one matches platform.linux_distribution(), the other matches contents of /etc/os-release --- certbot-apache/certbot_apache/constants.py | 1 + 1 file changed, 1 insertion(+) diff --git a/certbot-apache/certbot_apache/constants.py b/certbot-apache/certbot_apache/constants.py index f73004a81..9252814c4 100644 --- a/certbot-apache/certbot_apache/constants.py +++ b/certbot-apache/certbot_apache/constants.py @@ -81,6 +81,7 @@ CLI_DEFAULTS = { "rhel": CLI_DEFAULTS_CENTOS, "amazon": CLI_DEFAULTS_CENTOS, "gentoo": CLI_DEFAULTS_GENTOO, + "gentoo base system": CLI_DEFAULTS_GENTOO, "darwin": CLI_DEFAULTS_DARWIN, } """CLI defaults."""