summaryrefslogtreecommitdiff
path: root/lib/chef/util
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-06-15 14:12:39 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2018-06-15 14:12:39 -0700
commit292d226717dfffe959d3d48e9b9e7e533da69641 (patch)
tree5dacbf4b11a01871b829f88b4a8e6b7c16ba0980 /lib/chef/util
parentaa4f3285f3e49919e29f40337183fd0510baaee5 (diff)
downloadchef-292d226717dfffe959d3d48e9b9e7e533da69641.tar.gz
Unification of shell_out APIs
converts all usage to just shell_out() from the numerous helper utilities that we've had previously. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/util')
-rw-r--r--lib/chef/util/selinux.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/util/selinux.rb b/lib/chef/util/selinux.rb
index 0d973b0376..fb0c98cff5 100644
--- a/lib/chef/util/selinux.rb
+++ b/lib/chef/util/selinux.rb
@@ -52,7 +52,7 @@ class Chef
restorecon_flags << "-r" if recursive
restorecon_flags << file_path
Chef::Log.trace("Restoring selinux security content with #{restorecon_path}")
- shell_out_compact!(restorecon_path, restorecon_flags)
+ shell_out!(restorecon_path, restorecon_flags)
else
Chef::Log.warn "Can not find 'restorecon' on the system. Skipping selinux security context restore."
end