Issue #8695 has been updated by James Turnbull. Status changed from Unreviewed to Needs Decision Assignee set to Daniel Pittman
Daniel - any views? ---------------------------------------- Bug #8695: Puppet::Face[:catalog] doesn't raise Puppet::Error when the Catalog indirector does https://projects.puppetlabs.com/issues/8695 Author: Matthaus Litteken Status: Needs Decision Priority: Normal Assignee: Daniel Pittman Category: Faces Target version: Affected Puppet version: 2.7.0rc1 Keywords: Branch: When running the following against an invalid node of some sort (extra parameters to a class or define, missing parameter to a class or define, etc), a Puppet::Error is raised with an error message (Invalid parameter, Missing <parameter>, etc). Puppet::Resource::Catalog.indirection.find(node_obj.name, :use_node => node_obj) The following code raises a RuntimeError instead with an error message of "Could not call 'find' on 'catalog':" prepended to the expected error message. Puppet::Face[:catalog, :current].find(node_obj.name, :use_node => node_obj) I would expect both calls to generate the same error message of the Puppet::Error variety. -- 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.
