diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2020-07-22 17:22:58 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2020-07-22 17:22:58 -0700 |
commit | d2ed912f2bd9958a14901b9902667eea2ef12045 (patch) | |
tree | 2b228f34b36af0ee42882f2c67217a98601ff085 | |
parent | e0e90643ccd4f785b92c7a807b90099074a9518d (diff) | |
download | mixlib-shellout-d2ed912f2bd9958a14901b9902667eea2ef12045.tar.gz |
convert helper to default_paths APIlcg/default-paths
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | lib/mixlib/shellout/helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mixlib/shellout/helper.rb b/lib/mixlib/shellout/helper.rb index 2c60e05..35184b9 100644 --- a/lib/mixlib/shellout/helper.rb +++ b/lib/mixlib/shellout/helper.rb @@ -17,14 +17,14 @@ require_relative "../shellout" require "chef-utils" -require "chef-utils/dsl/path_sanity" +require "chef-utils/dsl/default_paths" require "chef-utils/internal" module Mixlib class ShellOut module Helper include ChefUtils::Internal - include ChefUtils::DSL::PathSanity + include ChefUtils::DSL::DefaultPaths # # These APIs are considered public for use in ohai and chef (by cookbooks and plugins, etc) @@ -88,7 +88,7 @@ module Mixlib "LC_ALL" => __config[:internal_locale], "LANGUAGE" => __config[:internal_locale], "LANG" => __config[:internal_locale], - __env_path_name => sanitized_path, + __env_path_name => default_paths, }.update(options[env_key] || {}) end options |