diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-19 10:42:30 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-19 10:42:30 -0700 |
commit | ff0695a7eb5ea090ce01c9fcaba406ec30b4c925 (patch) | |
tree | b7cbebda07e1e89018b964bdddbeccdccebdcfab | |
parent | a362b05f3abe38d5d4aed0160ff23f6a1af558e4 (diff) | |
download | ohai-ff0695a7eb5ea090ce01c9fcaba406ec30b4c925.tar.gz |
keep the code consistent with private/public
fixing some of these methods to be private (when they were intended
to be private but were actually public) broke tests.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | lib/ohai/config.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/ohai/config.rb b/lib/ohai/config.rb index 4d4e886b..f7e1f518 100644 --- a/lib/ohai/config.rb +++ b/lib/ohai/config.rb @@ -42,8 +42,6 @@ module Ohai ohai.merge!(configuration) end - private - def default_hints_path [ ChefConfig::Config.platform_specific_path("/etc/chef/ohai/hints") ] end @@ -107,8 +105,6 @@ module Ohai end class << self - private - def option_deprecated(option) <<-EOM.chomp!.tr("\n", " ") Ohai::Config[:#{option}] is set. Ohai::Config[:#{option}] is deprecated and will |