8.1.4. cobbler.modules package¶
8.1.4.1. Subpackages¶
- 8.1.4.1.1. cobbler.modules.authentication package
- 8.1.4.1.1.1. Submodules
- 8.1.4.1.1.2. cobbler.modules.authentication.configfile module
- 8.1.4.1.1.3. cobbler.modules.authentication.denyall module
- 8.1.4.1.1.4. cobbler.modules.authentication.ldap module
- 8.1.4.1.1.5. cobbler.modules.authentication.pam module
- 8.1.4.1.1.6. cobbler.modules.authentication.passthru module
- 8.1.4.1.1.7. cobbler.modules.authentication.spacewalk module
- 8.1.4.1.1.8. cobbler.modules.authentication.testing module
- 8.1.4.1.1.9. Module contents
- 8.1.4.1.2. cobbler.modules.authorization package
- 8.1.4.1.3. cobbler.modules.installation package
- 8.1.4.1.3.1. Submodules
- 8.1.4.1.3.2. cobbler.modules.installation.post_log module
- 8.1.4.1.3.3. cobbler.modules.installation.post_power module
- 8.1.4.1.3.4. cobbler.modules.installation.post_puppet module
- 8.1.4.1.3.5. cobbler.modules.installation.post_report module
- 8.1.4.1.3.6. cobbler.modules.installation.pre_clear_anamon_logs module
- 8.1.4.1.3.7. cobbler.modules.installation.pre_log module
- 8.1.4.1.3.8. cobbler.modules.installation.pre_puppet module
- 8.1.4.1.3.9. Module contents
- 8.1.4.1.4. cobbler.modules.managers package
- 8.1.4.1.4.1. Submodules
- 8.1.4.1.4.2. cobbler.modules.managers.bind module
- 8.1.4.1.4.3. cobbler.modules.managers.dnsmasq module
- 8.1.4.1.4.4. cobbler.modules.managers.genders module
- 8.1.4.1.4.5. cobbler.modules.managers.import_signatures module
- 8.1.4.1.4.6. cobbler.modules.managers.in_tftpd module
- 8.1.4.1.4.7. cobbler.modules.managers.isc module
- 8.1.4.1.4.8. cobbler.modules.managers.ndjbdns module
- 8.1.4.1.4.9. cobbler.modules.managers.tftpd_py module
- 8.1.4.1.4.10. Module contents
- 8.1.4.1.5. cobbler.modules.serializers package
8.1.4.2. Submodules¶
8.1.4.3. cobbler.modules.nsupdate_add_system_post module¶
-
cobbler.modules.nsupdate_add_system_post.
nslog
(msg)[source]¶ Log a message to the logger.
Parameters: msg – The message to log.
-
cobbler.modules.nsupdate_add_system_post.
register
() → str[source]¶ This method is the obligatory Cobbler registration hook.
Returns: The trigger name or an empty string.
-
cobbler.modules.nsupdate_add_system_post.
run
(api, args, logger)[source]¶ This method executes the trigger, meaning in this case that it updates the dns configuration.
Parameters: - api – The api to read metadata from.
- args – Metadata to log.
- logger – The logger to audit the action with.
Returns: “0” on success or a skipped task. If the task failed or problems occurred then an exception is raised.
8.1.4.4. cobbler.modules.nsupdate_delete_system_pre module¶
-
cobbler.modules.nsupdate_delete_system_pre.
nslog
(msg)[source]¶ Log a message to the logger.
Parameters: msg – The message to log.
-
cobbler.modules.nsupdate_delete_system_pre.
register
() → str[source]¶ This method is the obligatory Cobbler registration hook.
Returns: The trigger name or an empty string. Return type: str
-
cobbler.modules.nsupdate_delete_system_pre.
run
(api, args, logger)[source]¶ This method executes the trigger, meaning in this case that it updates the dns configuration.
Parameters: - api – The api to read metadata from.
- args – Metadata to log.
- logger – The logger to audit the action with.
Returns: “0” on success or a skipped task. If the task failed or problems occurred then an exception is raised.