Issue #8693 has been updated by Daniel Pittman.
Status changed from Accepted to Closed
Matthaus Litteken wrote:
> When running the following code, where node_obj is a Puppet::Node,
>
> Puppet::Face[:catalog, :current].find(node_obj.name, :use_node =>
> node_obj)
>
> Puppet raises ArgumentError: Unknown options passed: use_node
>
> This is present in 2.7.x, but not in 2.7.2rc2.
You need to transform your code to:
<pre>.find(node_obj.name, :extra => { :use_node => node_obj })</pre>
Now that options are strictly enforced, the catalog face based on the
indirector needs to pass additional options inside a legal option, not just as
arbitrary extra keys.
----------------------------------------
Bug #8693: Puppet::Face for the catalog should accept use_node option
https://projects.puppetlabs.com/issues/8693
Author: Matthaus Litteken
Status: Closed
Priority: Normal
Assignee:
Category: Faces
Target version:
Affected Puppet version: development
Keywords:
Branch:
When running the following code, where node_obj is a Puppet::Node,
Puppet::Face[:catalog, :current].find(node_obj.name, :use_node => node_obj)
Puppet raises ArgumentError: Unknown options passed: use_node
This is present in 2.7.x, but not in 2.7.2rc2.
--
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.