Project

General

Profile

Actions

Bug #29484

closed

after_build hook is executed at the wrong host creation stage

Added by Bernhard Suttner about 4 years ago. Updated about 4 years ago.

Status:
Rejected
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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

Also available in: Atom PDF