""" Distribution specific override class for macOS """ import pkg_resources import zope.interface from certbot import interfaces from certbot_apache import configurator @zope.interface.provider(interfaces.IPluginFactory) class DarwinConfigurator(configurator.ApacheConfigurator): """macOS specific ApacheConfigurator override class""" OS_DEFAULTS = dict( server_root="/etc/apache2", vhost_root="/etc/apache2/other", vhost_files="*.conf", logs_root="/var/log/apache2", ctl="apachectl", version_cmd=['apachectl', '-v'], restart_cmd=['apachectl', 'graceful'], conftest_cmd=['apachectl', 'configtest'], enmod=None, dismod=None, le_vhost_ext="-le-ssl.conf", handle_modules=False, handle_sites=False, challenge_location="/etc/apache2/other", MOD_SSL_CONF_SRC=pkg_resources.resource_filename( "certbot_apache", "options-ssl-apache.conf") )
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
augeas_lens | Folder | 0755 |
|
|
tests | Folder | 0755 |
|
|
__init__.py | File | 29 B | 0644 |
|
apache_util.py | File | 3.12 KB | 0644 |
|
centos-options-ssl-apache.conf | File | 1.55 KB | 0644 |
|
configurator.py | File | 98.85 KB | 0644 |
|
constants.py | File | 2.87 KB | 0644 |
|
display_ops.py | File | 4.15 KB | 0644 |
|
entrypoint.py | File | 2.5 KB | 0644 |
|
http_01.py | File | 7.82 KB | 0644 |
|
obj.py | File | 8.95 KB | 0644 |
|
options-ssl-apache.conf | File | 1.58 KB | 0644 |
|
override_arch.py | File | 980 B | 0644 |
|
override_centos.py | File | 8.41 KB | 0644 |
|
override_darwin.py | File | 982 B | 0644 |
|
override_debian.py | File | 5.6 KB | 0644 |
|
override_fedora.py | File | 3.64 KB | 0644 |
|
override_gentoo.py | File | 2.68 KB | 0644 |
|
override_suse.py | File | 1011 B | 0644 |
|
parser.py | File | 37.28 KB | 0644 |
|