summaryrefslogtreecommitdiff
path: root/chef-config/lib
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2017-04-05 18:56:25 +0100
committerGitHub <noreply@github.com>2017-04-05 18:56:25 +0100
commite75454384a9763458ea7d6d0aa7472521025dcbd (patch)
tree36d573ddd3538f543e26a10220a82dd7e44ecec2 /chef-config/lib
parent35c01678e56877ca374fdbee3bbe31c122f3f930 (diff)
parent5c86ade466a38536186218009e32bb4db1ab3c92 (diff)
downloadchef-e75454384a9763458ea7d6d0aa7472521025dcbd.tar.gz
Merge pull request #6017 from chef/tm/ohai_plugins_2
RFC 59 - Load ohai plugins
Diffstat (limited to 'chef-config/lib')
-rw-r--r--chef-config/lib/chef-config/config.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/chef-config/lib/chef-config/config.rb b/chef-config/lib/chef-config/config.rb
index b4bb6b76ab..57f55fdce4 100644
--- a/chef-config/lib/chef-config/config.rb
+++ b/chef-config/lib/chef-config/config.rb
@@ -450,6 +450,10 @@ module ChefConfig
# most of our testing scenarios)
default :minimal_ohai, false
+ # When consuming Ohai plugins from cookbook segments, we place those plugins in this directory.
+ # Subsequent chef client runs will wipe and re-populate the directory to ensure cleanliness
+ default(:ohai_segment_plugin_path) { PathHelper.join(config_dir, "ohai", "cookbook_plugins") }
+
###
# Policyfile Settings
#