diff options
author | Thom May <thom@may.lt> | 2017-04-05 18:56:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-05 18:56:25 +0100 |
commit | e75454384a9763458ea7d6d0aa7472521025dcbd (patch) | |
tree | 36d573ddd3538f543e26a10220a82dd7e44ecec2 /chef-config/lib | |
parent | 35c01678e56877ca374fdbee3bbe31c122f3f930 (diff) | |
parent | 5c86ade466a38536186218009e32bb4db1ab3c92 (diff) | |
download | chef-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.rb | 4 |
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 # |