Support Perl module hooks

Registered by Lenz Grimmer

Currently, mylvmbackup supports calling "hooks" at various stages of the process. At present, these can be external executables of any kind (e.g. shell scripts, binaries, etc.). In addition to that it would be nice to be able to load external hooks written as Perl modules that would then inherit global variables, the database connection handle and configuration options. For this the run_hook() function needs to be updated to look for <hookname>.pm and load the respective module, if it exists.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Lenz Grimmer
Completed by
Lenz Grimmer

Related branches

Sprints

Whiteboard

This has been implemented and was released in version 0.12

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.