summaryrefslogtreecommitdiff
path: root/lib/ohai/config.rb
diff options
context:
space:
mode:
authorClaire McQuin <claire@getchef.com>2015-07-09 13:35:27 -0700
committerClaire McQuin <claire@getchef.com>2015-07-21 09:47:50 -0700
commit68506520e8962ae685a551bfb3594272c68d31f0 (patch)
tree21860f72dd4e0ba562e56aacfe82a5367c022015 /lib/ohai/config.rb
parent542eebb54f20bde83612cff37ea1d7156ca0ffd1 (diff)
downloadohai-68506520e8962ae685a551bfb3594272c68d31f0.tar.gz
Use Ohai.config
Diffstat (limited to 'lib/ohai/config.rb')
-rw-r--r--lib/ohai/config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/config.rb b/lib/ohai/config.rb
index 988c2328..1e8404c1 100644
--- a/lib/ohai/config.rb
+++ b/lib/ohai/config.rb
@@ -34,7 +34,7 @@ module Ohai
# otherwise they will get method_missing'd to nil.
private
def self.default_hints_path
- [ platform_specific_path('/etc/chef/ohai/hints') ]
+ [ ChefConfig::Config.platform_specific_path('/etc/chef/ohai/hints') ]
end
def self.default_plugin_path