summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
authorSean E. Millichamp <sean@bruenor.org>2008-11-13 17:41:50 -0500
committerJames Turnbull <james@lovedthanlost.net>2008-11-14 09:54:18 +1100
commit1e81739f80f59aa1d10b46ab0ed22c95eeeca36c (patch)
treea926b9b3cbfb6ad9f5f172fcb56b90313068d2ec /lib/puppet
parentcebadd9296ad9193f583f698ec77f0fc99ae6fc9 (diff)
downloadpuppet-1e81739f80f59aa1d10b46ab0ed22c95eeeca36c.tar.gz
puppet-1e81739f80f59aa1d10b46ab0ed22c95eeeca36c.tar.xz
puppet-1e81739f80f59aa1d10b46ab0ed22c95eeeca36c.zip
Fix bug #1746: Sync SELinux file attributes after file contents created/modified
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/type/file.rb2
1 files changed, 1 insertions, 1 deletions
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)