Source code for insights.parsers.cobbler_modules_conf

Cobbler modules configuration - file ``/etc/cobbler/modules.conf``

The Cobbler modules configuration lists a set of services, and typically
sets the module that provides that service.

Sample input::

    module = authn_spacewalk

    module = authz_allowall

    module = manage_bind

    module = manage_isc


    >>> conf = CobblerModulesConf(context_wrap(conf_content))
    >>> conf.get('authentication', 'module')
    >>> conf.get('dhcp', 'module')


from .. import parser, IniConfigFile
from insights.specs import Specs

[docs]@parser(Specs.cobbler_modules_conf) class CobblerModulesConf(IniConfigFile): """ This uses the standard ``IniConfigFile`` parser class. """ pass