Details
-
Type:
Story
-
Status: Open
-
Priority:
(None)
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: cf-agent
-
Labels:None
Description
It would be nice if I could run a bundle if a bundle is aborted.
abortbundleclasses in body executor control defines a list of regular expressions that should cause cf-agent to abort execution of the current bundle if a class matching one of the regular expressions is defined.
- It wold be nice to be able to know from within the bundle being run after aborting which bundle aborted
- It wold be nice to be able to know from within the bundle being run after aborting which regular expression was matched
- It wold be nice to be able to know from within the bundle being run after aborting which class matched the regular expression
- It would be nice to be able to map specific bundles to specific classes or regular expressions, for example an abortbundleclass pattern abort_reason_a_.* should run bundle agent aborted_reason_a
Perhaps something like {{abortbundleclass_hooks => '
{ "rexex1": "bundle_1", "regex2": "bundle_2"}';}}