puppetlabs-stdlib/spec
Jetroid 1d9189d860 (MODULE-2456) Modify union to accept more than two arrays
Add spec tests to test the new functionality:
 *Case for 3 arrays.
 *Case for 4 arrays.
Modify README to note new functionality.

This is for issue MODULE-2456, follow the precedent of MODULE-444.

This change allows union to be much more useful, unioning many arrays
in one line rather than in n lines. Additionally, as this is only added
functionality, and does not affect the 2 array case that all modules
currently using array are using, it should not affect any existing
modules utilizing union.

This is now useful, for example, for merging many arrays of resources
(eg: packages.) to generate just one list with no duplicates, to avoid
duplicate resource declarations.
2015-08-24 14:24:10 +01:00
..
acceptance (MODULE-2456) Modify union to accept more than two arrays 2015-08-24 14:24:10 +01:00
fixtures Add the missing symlinks to get puppet 4 pickup the functions from the environmentpath 2015-06-01 12:21:59 +01:00
functions (MODULE-2456) Modify union to accept more than two arrays 2015-08-24 14:24:10 +01:00
monkey_patches Add the missing shebangs and fix the wrong ones for rpmlint to stop complaining loudly 2014-05-07 11:49:25 +02:00
unit allow match parameter to influence ensure => absent behavior. 2015-08-06 13:44:32 -07:00
puppetlabs_spec_helper_clone.rb Convert tests to use plain rspec-puppet 2015-06-01 18:02:22 +01:00
spec.opts Copied function test scaffolding from puppet. 2011-06-29 12:25:43 +01:00
spec_helper.rb Remove unused puppet_spec code 2015-06-01 18:02:22 +01:00
spec_helper_acceptance.rb Add puppet_version back to spec_helper 2015-08-11 19:52:43 -07:00