]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
(#22214): close content file before executing checkscript
authorsgzijl <sgzijl@gmail.com>
Mon, 9 Sep 2013 14:20:36 +0000 (16:20 +0200)
committerAdrien Thebo <git@somethingsinistral.net>
Thu, 19 Sep 2013 04:32:07 +0000 (21:32 -0700)
commit9e0d8a8e0a83e1659fdb289078fd15862dca028b
tree6799c4402adcad6c9fdd0be56a70a1d9a8624003
parent806430224ad0da860be3761ab83f1e574b64fc60
(#22214): close content file before executing checkscript

Right now validation seems to be done against zero byte generated temp
files. We need to close the file before executing validation against it.
lib/puppet/parser/functions/validate_cmd.rb
spec/unit/puppet/parser/functions/validate_cmd_spec.rb