]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
(#8709) Add hash merging function
authorDan Bode <dan@puppetlabs.com>
Fri, 29 Jul 2011 22:28:21 +0000 (15:28 -0700)
committerDan Bode <dan@puppetlabs.com>
Fri, 29 Jul 2011 22:28:21 +0000 (15:28 -0700)
commitc4a13acafeee87359d1fd72abeccdab7b9d5fee1
tree99d67fcb0a3d1fe02a4c20c715b42b44dc62aea4
parentb1beaec2da36aa2312f959b1521137f5df96608f
(#8709) Add hash merging function

In Puppet, it is not possible to reassign hash
values.

This function allows a reasonable way to perform
hash munging in Puppet.

Reviewed-by: Jeff McCune
lib/puppet/parser/functions/merge.rb [new file with mode: 0644]
spec/unit/puppet/parser/functions/merge_spec.rb [new file with mode: 0644]