summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/files.rb
diff options
context:
space:
mode:
authorMarkus Roberts <Markus@reality.com>2009-09-08 13:33:33 -0700
committerJames Turnbull <james@lovedthanlost.net>2009-09-15 06:52:15 +1000
commit40cd6d413257e840b357ddd243499b8c441b0ff0 (patch)
tree40c658e1a91e3c9a42329b63871997f66a14de43 /lib/puppet/parser/files.rb
parent630407d527905a9c874ae4b32a62849fdf6864b7 (diff)
downloadpuppet-40cd6d413257e840b357ddd243499b8c441b0ff0.tar.gz
puppet-40cd6d413257e840b357ddd243499b8c441b0ff0.tar.xz
puppet-40cd6d413257e840b357ddd243499b8c441b0ff0.zip
Fix for #2605 by falling back to alternative solution to #1963
Two solutions were proposed and tested for #1963; both worked but one (the read_nonblock solution) was used for performance reasons. This solution does not work on older ruby implementations (1.8.1) because read_nonblock is not available. This patch implements the alternative fix (IO.popen) as a fallback to handles such cases. Signed-off-by: Markus Roberts <Markus@reality.com>
Diffstat (limited to 'lib/puppet/parser/files.rb')
0 files changed, 0 insertions, 0 deletions