summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/autoload.rb
diff options
context:
space:
mode:
authorJesse Wolfe <jes5199@gmail.com>2010-12-16 14:10:20 -0800
committerJesse Wolfe <jes5199@gmail.com>2010-12-16 14:34:56 -0800
commite99a3ea6fc2b30ed7bcbd3c1bc011b38d92f57b2 (patch)
tree4ac0978edcb7c7b10ea2cd6209f500a19a65cba4 /lib/puppet/util/autoload.rb
parent3f9f37984d1ac5f3ddcc83bf2b1facdb6df6dacd (diff)
downloadpuppet-e99a3ea6fc2b30ed7bcbd3c1bc011b38d92f57b2.tar.gz
puppet-e99a3ea6fc2b30ed7bcbd3c1bc011b38d92f57b2.tar.xz
puppet-e99a3ea6fc2b30ed7bcbd3c1bc011b38d92f57b2.zip
Fix #5566 none, mtime, and ctime checksum types can write file contents
The #write method in lib/puppet/type/file/content.rb relies on the block passed to #sum_stream getting executed. "none", "mtime", and "ctime" aren't real checksums, so they violated that assumption and just returned empty results. This patch causes that block to get executed.
Diffstat (limited to 'lib/puppet/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions