diff options
author | Thom May <thom@chef.io> | 2017-04-05 11:49:51 +0100 |
---|---|---|
committer | Thom May <thom@chef.io> | 2017-04-05 18:17:38 +0100 |
commit | 5c86ade466a38536186218009e32bb4db1ab3c92 (patch) | |
tree | d6e93d25ab4736a9d6f3c338971c56302c3f7708 /lib/chef/event_dispatch | |
parent | a9d0cfb3bcb995d60e096a755e4e58fa47f40047 (diff) | |
download | chef-5c86ade466a38536186218009e32bb4db1ab3c92.tar.gz |
RFC 59: Load Ohai pluginstm/ohai_plugins_2
This adds a new phase in the compilation of the run context.
Signed-off-by: Thom May <thom@chef.io>
Diffstat (limited to 'lib/chef/event_dispatch')
-rw-r--r-- | lib/chef/event_dispatch/base.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/chef/event_dispatch/base.rb b/lib/chef/event_dispatch/base.rb index 926bbe24b5..0f8013f114 100644 --- a/lib/chef/event_dispatch/base.rb +++ b/lib/chef/event_dispatch/base.rb @@ -195,6 +195,22 @@ class Chef def lwrp_load_complete end + # Called when an ohai plugin file loading starts + def ohai_plugin_load_start(file_count) + end + + # Called when an ohai plugin file has been loaded + def ohai_plugin_file_loaded(path) + end + + # Called when an ohai plugin file has an error on load. + def ohai_plugin_file_load_failed(path, exception) + end + + # Called when an ohai plugin file loading has finished + def ohai_plugin_load_complete + end + # Called before attribute files are loaded def attribute_load_start(attribute_file_count) end |