summaryrefslogtreecommitdiff
path: root/lib/chef/provider/file.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/file.rb')
-rw-r--r--lib/chef/provider/file.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/provider/file.rb b/lib/chef/provider/file.rb
index 0de620bba1..f8853bc701 100644
--- a/lib/chef/provider/file.rb
+++ b/lib/chef/provider/file.rb
@@ -429,6 +429,7 @@ class Chef
def do_selinux(recursive = false)
if resource_updated? && Chef::Config[:enable_selinux_file_permission_fixup]
if selinux_enabled?
+ puts "SELINUX ENABLED"
converge_by("restore selinux security context") do
restore_security_context(::File.realpath(new_resource.path), recursive)
end