From 1e81739f80f59aa1d10b46ab0ed22c95eeeca36c Mon Sep 17 00:00:00 2001 From: "Sean E. Millichamp" Date: Thu, 13 Nov 2008 17:41:50 -0500 Subject: Fix bug #1746: Sync SELinux file attributes after file contents created/modified --- lib/puppet/type/file.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/puppet/type/file.rb b/lib/puppet/type/file.rb index 371571ff3..b6396b0bf 100644 --- a/lib/puppet/type/file.rb +++ b/lib/puppet/type/file.rb @@ -1127,7 +1127,7 @@ module Puppet # file creation/modification, so we have to do some extra checking. def property_fix properties.each do |thing| - next unless [:mode, :owner, :group].include?(thing.name) + next unless [:mode, :owner, :group, :seluser, :selrole, :seltype, :selrange].include?(thing.name) # Make sure we get a new stat objct self.stat(true) -- cgit