Title: Message Title
Justin Burnham commented on an issue
Puppet / Bug PUP-1724
deep_merge in stdlib clobbers the first parameter
Example:
{noformat}
class foo {
  $bar = { foo => { bar => 1 } }
}
include foo
$bar_updates = { foo => { baz => 1 } }
alert $foo::bar
$baz = deep_merge( $foo::bar, $bar_updates )
alert $foo::bar
{noformat}
Current output:
{noformat}
alert: Scope(Class[main]): foobar1
alert: Scope(Class[main]): foobaz1bar1
{noformat}
Expected:
{noformat}
...

--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to