diff --git a/certbot-apache/certbot_apache/_internal/override_centos.py b/certbot-apache/certbot_apache/_internal/override_centos.py index 506908837..6ef84936c 100644 --- a/certbot-apache/certbot_apache/_internal/override_centos.py +++ b/certbot-apache/certbot_apache/_internal/override_centos.py @@ -155,7 +155,8 @@ class CentOSConfigurator(BaseCentOSConfigurator): use options.bin (i.e. httpd) """ if not self.options.bin: - raise ValueError("OS option apache_bin must be set for CentOS") + raise ValueError("OS option apache_bin must be set for CentOS") # pragma: no cover + self.options.get_modules_cmd[0] = self.options.bin self.options.get_includes_cmd[0] = self.options.bin self.options.get_defines_cmd[0] = self.options.bin