Changes between Version 6 and Version 7 of Development/Features/PrePostActionsNCMNCD
- Timestamp:
- Jul 31, 2013, 7:30:30 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Development/Features/PrePostActionsNCMNCD
v6 v7 36 36 ==== run-init ==== 37 37 38 The pre-run action will receive no arguments. If it fails, it shall abort the execution of any configuration modules.38 The `run-init` hook will receive no arguments. If it fails, it shall abort the execution of any configuration modules, but `run-finalize` will still run. 39 39 40 40 ==== run-finalize ==== 41 41 42 The post-runwill receive the execution status (`%global_status` variable in [https://github.com/quattor/ncm-ncd/blob/master/src/main/perl/ComponentProxyList.pm#L87 NCD::ComponentProxyList::executeConfigComponents]) as its only argument. If it fails, `ncm-ncd` will exit with a special exit code.42 The `run-finalize` hook will receive the execution status (`%global_status` variable in [https://github.com/quattor/ncm-ncd/blob/master/src/main/perl/ComponentProxyList.pm#L87 NCD::ComponentProxyList::executeConfigComponents]) as its only argument. If it fails, `ncm-ncd` will exit with a special exit code. 43 43 44 44 === Specifying the hooks ===