summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/validate_cmd.rb
AgeCommit message (Collapse)Author
2014-12-18(MODULES-1582) Improve % detectionPeter Souter
Avoids any validate commands that have %'s in them other than "... % ..."
2014-12-18(MODULES-1582) Initial spike for % placeholderPeter Souter
This simply `gsub`'s the file path into where the % placeholder is.
2014-10-29Fix validate_cmd, previous addition of SystemCallError only works for Puppet ↵Travis Fields
3.7, previous version throw different exception. Wrapping in generic Exception catch all
2014-10-29Add proper exception catching of Windows errors when CreateProcess does not ↵Travis Fields
succeed
2014-10-24add require 'tempfile' to resolve a previously autorequired resourceTravis Fields
2013-09-18(#22214): close content file before executing checkscriptsgzijl
Right now validation seems to be done against zero byte generated temp files. We need to close the file before executing validation against it.
2013-02-07validate_cmd(): Use Puppet::Util::Execution.execute when availableRaphaël Pinson
2013-02-06validate_cmd: Use Puppet::Util.executeRaphaël Pinson
2013-01-18validate_cmd: Make sure tmpfile is always closed and unlinkedRaphaël Pinson
2013-01-18Add validate_cmd functionRaphaël Pinson