Module Expr Str ImportFrom alias identifier Import alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad body Expr Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad body Expr Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad body Expr Call NameLoad BinOpMod Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad body Expr Call NameLoad BinOpMod Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareEq NameLoad Str body Return Call NameLoad orelse Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareEq NameLoad Str body Return Call NameLoad orelse Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args defaults body Return Call NameLoad keyword Str keyword Str decorator_list FunctionDef arguments args defaults body Return Call NameLoad keyword Str keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad If CompareEq NameLoad Str body Assign NameStore Call NameLoad Assign NameStore BoolOpAnd CompareEq NameLoad Str CompareGtE Call NameLoad Call NameLoad Call NameLoad Str Assign NameStore BoolOpAnd CompareEq NameLoad Str CompareGtE Call NameLoad Call NameLoad Call NameLoad Str If BoolOpOr NameLoad NameLoad body Return NameLoad orelse Return NameLoad orelse Raise Call NameLoad keyword ListLoad Str decorator_list Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore ListLoad Str Str Str Str Str Str
N/A N/A 
Apache
======

This module provides tools for configuring
the `Apache HTTP Server <http://httpd.apache.org/>`_.

 distutils.version StrictVersion V N/A posixpath fabtools.files is_link fabtools.system UnsupportedFamily distrib_family distrib_id distrib_release fabtools.utils run_as_root is_module_enabled N/A N/A module N/A N/A N/A 
    Check if an Apache module is enabled.
     N/A N/A is_link N/A /etc/apache2/mods-enabled/%s.load module N/A enable_module N/A N/A module N/A N/A N/A 
    Enable an Apache module.

    This creates a symbolic link from ``/etc/apache2/mods-available/``
    into ``/etc/apache2/mods-enabled/``.

    This does not cause Apache to reload its configuration.

    ::

        import fabtools

        fabtools.apache.enable_module('rewrite')
        fabtools.service.reload('apache2')

    .. seealso:: :py:func:`fabtools.require.apache.module_enabled`
     N/A N/A N/A is_module_enabled module N/A N/A N/A run_as_root N/A a2enmod %s module N/A disable_module N/A N/A module N/A N/A N/A 
    Disable an Apache module.

    This deletes the symbolink link in ``/etc/apache2/mods-enabled/``.

    This does not cause Apache to reload its configuration.

    ::

        import fabtools

        fabtools.apache.disable_module('rewrite')
        fabtools.service.reload('apache2')

    .. seealso:: :py:func:`fabtools.require.apache.module_disabled`
     N/A N/A is_module_enabled module N/A N/A N/A run_as_root N/A a2dismod %s module N/A is_site_enabled N/A N/A site_name N/A N/A N/A 
    Check if an Apache site is enabled.
     N/A N/A is_link N/A _site_link_path site_name N/A enable_site N/A N/A site_name N/A N/A N/A 
    Enable an Apache site.

    This creates a symbolic link from ``/etc/apache2/sites-available/``
    into ``/etc/apache2/sites-enabled/``.

    This does not cause Apache to reload its configuration.

    ::

        import fabtools

        fabtools.apache.enable_site('default')
        fabtools.service.reload('apache2')

    .. seealso:: :py:func:`fabtools.require.apache.site_enabled`
     N/A N/A N/A is_site_enabled site_name N/A N/A N/A run_as_root N/A a2ensite %s N/A _site_config_filename site_name N/A disable_site N/A N/A site_name N/A N/A N/A 
    Disable an Apache site.

    This deletes the symbolink link in ``/etc/apache2/sites-enabled/``.

    This does not cause Apache to reload its configuration.

    ::

        import fabtools

        fabtools.apache.disable_site('default')
        fabtools.service.reload('apache2')

    .. seealso:: :py:func:`fabtools.require.apache.site_disabled`
     N/A N/A is_site_enabled site_name N/A N/A N/A run_as_root N/A a2dissite %s N/A _site_config_filename site_name N/A _site_config_path N/A N/A site_name N/A N/A N/A config_filename N/A _site_config_filename site_name N/A N/A N/A posixpath join /etc/apache2/sites-available config_filename N/A _site_config_filename N/A N/A site_name N/A N/A N/A N/A site_name default N/A N/A N/A _default__site_config_filename N/A N/A N/A N/A {0}.conf format site_name N/A _site_link_path N/A N/A site_name N/A N/A N/A link_filename N/A _site_link_filename site_name N/A N/A N/A posixpath join /etc/apache2/sites-enabled link_filename N/A _site_link_filename N/A N/A site_name N/A N/A N/A N/A site_name default N/A N/A N/A _default__site_link_filename N/A N/A N/A N/A {0}.conf format site_name N/A _default__site_config_filename N/A N/A N/A N/A N/A N/A _choose old_style default new_style 000-default.conf N/A _default__site_link_filename N/A N/A N/A N/A N/A N/A _choose old_style 000-default new_style 000-default.conf N/A _choose N/A N/A old_style new_style N/A N/A N/A family N/A distrib_family N/A N/A family debian N/A N/A distrib N/A distrib_id N/A at_least_trusty N/A N/A distrib Ubuntu N/A N/A V N/A distrib_release N/A V 14.04 N/A at_least_jessie N/A N/A distrib Debian N/A N/A V N/A distrib_release N/A V 8.0 N/A N/A at_least_trusty at_least_jessie N/A N/A new_style N/A N/A old_style N/A N/A N/A UnsupportedFamily supported N/A debian N/A N/A enable enable_site N/A disable disable_site N/A __all__ N/A is_module_enabled enable_module disable_module is_site_enabled enable_site disable_site