diff options
author | Lamont Granquist <lamont@opscode.com> | 2013-04-04 15:10:39 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@opscode.com> | 2013-04-04 15:10:39 -0700 |
commit | 6b373de7fe38b934ee53c6e8116cec5e96fe0a59 (patch) | |
tree | ec480a70b269f381d2a607b0817ffb070bc0618b /lib/chef/provider/file | |
parent | 8c2f2011b6c334f4c5483bea3769383a63a018f4 (diff) | |
download | chef-6b373de7fe38b934ee53c6e8116cec5e96fe0a59.tar.gz |
expand and fix selinux functionality
Diffstat (limited to 'lib/chef/provider/file')
-rw-r--r-- | lib/chef/provider/file/deploy/mv_unix.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/chef/provider/file/deploy/mv_unix.rb b/lib/chef/provider/file/deploy/mv_unix.rb index be80d77d06..770f8aa8d3 100644 --- a/lib/chef/provider/file/deploy/mv_unix.rb +++ b/lib/chef/provider/file/deploy/mv_unix.rb @@ -68,14 +68,6 @@ class Chef rescue Errno::EPERM Chef::Log.warn("Could not set gid = #{gid} on #{dst}, file modes not preserved") end - - - # handle selinux if we need to run restorecon - if Chef::Config[:selinux_enabled] - Chef::Log.debug("selinux is enabled, fixing selinux permissions") - cmd = "#{Chef::Config[:selinux_restorecon_comand]} #{dst}" - shell_out!(cmd) - end end end end |