From 83857baf30bd6a25ce29612885666a3fdd30abf6 Mon Sep 17 00:00:00 2001 From: Peter Eckersley Date: Wed, 6 Jul 2016 13:25:52 -0700 Subject: [PATCH] Update / cleanup installer error message Closes: #1756 Updating since we landed #788 and have shipped Apache support almost everywhere --- certbot/plugins/selection.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/certbot/plugins/selection.py b/certbot/plugins/selection.py index ac509d779..1d7fa323f 100644 --- a/certbot/plugins/selection.py +++ b/certbot/plugins/selection.py @@ -260,14 +260,9 @@ def diagnose_configurator_problem(cfg_type, requested, plugins): "your existing configuration.\nThe error was: {1!r}" .format(requested, plugins[requested].problem)) elif cfg_type == "installer": - if os.path.exists("/etc/debian_version"): - # Debian... installers are at least possible - msg = ('No installers seem to be present and working on your system; ' - 'fix that or try running certbot with the "certonly" command') - else: - # XXX update this logic as we make progress on #788 and nginx support - msg = ('No installers are available on your OS yet; try running ' - '"letsencrypt-auto certonly" to get a cert you can install manually') + msg = ('No installer plugins seem to be present and working on your system; ' + 'fix that or try running certbot with the "certonly" command to obtain' + ' a certificate you can install manually') else: msg = "{0} could not be determined or is not installed".format(cfg_type) raise errors.PluginSelectionError(msg)