diff options
Diffstat (limited to 'lib/puppet')
-rw-r--r-- | lib/puppet/type/file.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/type/file.rb b/lib/puppet/type/file.rb index 99f5b96c1..1d50de5ed 100644 --- a/lib/puppet/type/file.rb +++ b/lib/puppet/type/file.rb @@ -909,7 +909,7 @@ module Puppet next unless [:mode, :owner, :group, :seluser, :selrole, :seltype, :selrange].include?(thing.name) # Make sure we get a new stat objct - self.stat(true) + expire currentvalue = thing.retrieve unless thing.insync?(currentvalue) thing.sync |