summaryrefslogtreecommitdiff
path: root/lib/chef/event_dispatch
diff options
context:
space:
mode:
authordanielsdeleo <dan@getchef.com>2015-05-22 09:27:48 -0700
committerdanielsdeleo <dan@getchef.com>2015-05-22 14:31:20 -0700
commit92cb65508c198d04fb12e1e99475c80bd8a16c4a (patch)
tree45138f8c56af98f96eaeab69d633b6d3bd361314 /lib/chef/event_dispatch
parent1ffba2be3bbecac33e460ba6c0f636bc07564b3a (diff)
downloadchef-92cb65508c198d04fb12e1e99475c80bd8a16c4a.tar.gz
Display policy name and ID during the chef run
Diffstat (limited to 'lib/chef/event_dispatch')
-rw-r--r--lib/chef/event_dispatch/base.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/chef/event_dispatch/base.rb b/lib/chef/event_dispatch/base.rb
index 7274105802..93caa62a65 100644
--- a/lib/chef/event_dispatch/base.rb
+++ b/lib/chef/event_dispatch/base.rb
@@ -82,6 +82,11 @@ class Chef
def node_load_completed(node, expanded_run_list, config)
end
+ # Called after the Policyfile was loaded. This event only occurs when
+ # chef is in policyfile mode.
+ def policyfile_loaded(policy)
+ end
+
# Called before the cookbook collection is fetched from the server.
def cookbook_resolution_start(expanded_run_list)
end