Ticket #508: puppet-source.patch
| File puppet-source.patch, 0.6 kB (added by luke, 2 years ago) |
|---|
-
source.rb
old new 249 249 250 250 @parent.write { |f| f.print contents } 251 251 252 # Refresh the file stat information and check for sync 253 @parent.stat(true) 254 @parent.each do |thing| 255 next unless thing.is_a? Puppet::State 256 next if thing == self 257 258 thing.retrieve 259 unless thing.insync? 260 thing.sync 261 end 262 end 263 252 264 if exists 253 265 return :file_changed 254 266 else