Paul Hinze 2707d09181
Fix prepend/append action hooks firing multiple times
This addresses the surprising behavior that the StoreBoxMetadata hook
was running many times during a machine up, including during failed
operations where a destroy_on_error deleted the machine. This was
resulting in an error that looked like:

> No such file or directory @ rb_sysopen [...] /[...]/box_meta

Plugin action hooks using prepend/append were attaching every time a
Builder was run, including sub-Builders that show up for things like
Call actions.

To fix this, we tell Builders if they are "primary" and only run
prepend/append on those. See inline comments for more explanation.
2022-04-25 12:26:55 -05:00
..
2022-04-25 12:26:47 -05:00
2022-04-25 12:25:57 -05:00
2022-04-25 12:26:53 -05:00
2022-04-25 12:26:34 -05:00
2022-04-25 12:26:46 -05:00
2018-02-25 22:21:16 -07:00
2018-03-14 14:41:04 +00:00
2022-04-25 12:24:36 -05:00
2022-04-25 12:24:39 -05:00
2022-04-25 12:25:57 -05:00
2021-03-23 18:16:45 +09:00