Actions
Bug #29484
closedafter_build hook is executed at the wrong host creation stage
Description
Current:
def build_hooks
return if previous_changes['build'].nil?
if build?
run_callbacks :build do
build? is true! if the host IS in build stage. But, after_build should be the point in time, when the build is finished - so if build was set from true to false. Currently, before_provision and after_build are mixed up.
Actions