Cobbler modules configuration - file /etc/cobbler/modules.conf
¶
-
class
insights.parsers.cobbler_modules_conf.
CobblerModulesConf
(context)[source]¶ Bases:
insights.core.IniConfigFile
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
>>> type(conf) <class 'insights.parsers.cobbler_modules_conf.CobblerModulesConf'> >>> conf.get('authentication', 'module') 'authn_spacewalk' >>> conf.get('dhcp', 'module') 'manage_isc'