summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2020-07-22 17:22:58 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2020-07-22 17:22:58 -0700
commitd2ed912f2bd9958a14901b9902667eea2ef12045 (patch)
tree2b228f34b36af0ee42882f2c67217a98601ff085
parente0e90643ccd4f785b92c7a807b90099074a9518d (diff)
downloadmixlib-shellout-lcg/default-paths.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.rb6
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