Issue #7099 has been reported by Dan Bode.
----------------------------------------
Bug #7099: Puppet::Node.merge returns the environment name
https://projects.puppetlabs.com/issues/7099
Author: Dan Bode
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version:
Keywords:
Branch:
This is 2.7.x specific:
It used to return the new node created after the param merge, now it returns
the name of the environment we are in.
I am using it like this:
<pre>
# irb
irb(main):001:0> require 'puppet'
=> true
irb(main):002:0> Puppet::Node.new('foo').merge(:param1=>'value')
=> "production"
</pre>
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.