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:

[authentication]
module = authn_spacewalk

[authorization]
module = authz_allowall

[dns]
module = manage_bind

[dhcp]
module = manage_isc

Examples

>>> conf = CobblerModulesConf(context_wrap(conf_content))
>>> conf.get('authentication', 'module')
'authn_spacewalk'
>>> conf.get('dhcp', 'module')
'manage_isc'
class insights.parsers.cobbler_modules_conf.CobblerModulesConf(context)[source]

Bases: insights.core.IniConfigFile

This uses the standard IniConfigFile parser class.