]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
Fix validate_cmd, previous addition of SystemCallError only works for Puppet 3.7...
authorTravis Fields <travis@puppetlabs.com>
Thu, 30 Oct 2014 03:03:07 +0000 (20:03 -0700)
committerTravis Fields <travis@puppetlabs.com>
Thu, 30 Oct 2014 03:03:07 +0000 (20:03 -0700)
commit6c7da72c0fa6b5e0ed3e5e2d5c80ff27f1e99dee
tree70285221d2e137c6aa73c5e70cac336ef5b77b57
parent385f0094883bf30c5ec7460bd0b7a1c4c29765a1
Fix validate_cmd, previous addition of SystemCallError only works for Puppet 3.7, previous version throw different exception.  Wrapping in generic Exception catch all
lib/puppet/parser/functions/validate_cmd.rb
spec/acceptance/validate_cmd_spec.rb