The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Bug #11181

enc cannot create nodes

Added by Dan Bode over 2 years ago.

Status:AcceptedStart date:12/05/2011
Priority:NormalDue date:
Assignee:Dan Bode% Done:

0%

Category:-
Target version:-
Keywords: Branch:

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This issue is currently not available for export. If you are experiencing the issue described below, please file a new ticket in JIRA. Once a new ticket has been created, please add a link to it that points back to this Redmine ticket.


Description

if the enc is passed a node that does not exist in the dashboard, it fails with the following error message:

ashboard/site_lib/puppet/dashboard/classifier.rb:121:in `create_node': undefined method `each' for nil:NilClass (NoMethodError)
    from /etc/puppetlabs/puppet/modules/puppetlabs-dashboard/site_lib/puppet/face/dashboard.rb:39:in `create_node implementation, required on Ruby 1.8'
    from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/interface/action.rb+eval[wrapper]:203:in `__send__'
    from /opt/puppet/lib/ruby/site_ruby/1.8/puppet/interface/action.rb+eval[wrapper]:203:in `create_node'
    from ./external_node:46
[root@ip-10-110-154-251 puppet-dashboard]# 

I am filing this ticket to remind me to look into it

Also available in: Atom PDF