validate_cmd: Make sure tmpfile is always closed and unlinked
ammend .should raise_error to .to raise_error
Merge branch 'stephenrjohnson-bug/master/15572_rspec_tests'

* stephenrjohnson-bug/master/15572_rspec_tests:
  ammend .should raise_error to .to raise_error

closes #97
validate_cmd: Use Puppet::Util.execute
validate_cmd(): Use Puppet::Util::Execution.execute when available
(#19201) Add concat function to join two arrays

Without this patch applied there is no easy way to append one array to
another.  This is a problem because it is often desirable to join two
arrays without flattening the contents into a single, one dimensional
array.

This patch addresses the problem by adding a `concat()` function which
takes two arguments.  The arguments will be concatenated together and a
new array returned to the caller.

Reviewed-by: Jeff McCune <jeff@puppetlabs.com>
Merge branch 'fatmcgav-feature_19201'

* fatmcgav-feature_19201:
  (#19201) Add concat function to join two arrays

closes #129
Merge branch 'pull-126'
Merge pull request #2 from puppetlabs/master

Upstream pull