Issue #15307 has been updated by Andrew Parker.
I've made some refactors to the code to clean up the help face a bit. If you think that they are ok, then we can merge the new PR and close the older one. https://github.com/puppetlabs/puppet/pull/904 ---------------------------------------- Bug #15307: Puppet help fails entirely if a single action fails to load https://projects.puppetlabs.com/issues/15307#change-66286 Author: Jeff McCune Status: In Topic Branch Pending Review Priority: Normal Assignee: Jeff McCune Category: Faces Target version: 3.0.0 Affected Puppet version: 3.0.0rc3 Keywords: telly faces cloud provisioner Branch: https://github.com/puppetlabs/puppet/pull/899 # Overview # If a single face action or subcommand fails to load for any reason and throws an exception, all of `puppet help` goes down with the ship. We should toss out the bad face and keep the rest of the working ones. This means we should at least display something helpful and ideally display all the help for all of the face subcommands we can. I've already got a small patch for this so I'm assigning it to myself. This ticket is a Telly release blocker. # Steps to reproduce # Install cloud-provisioner but don't install the dependency of Fog. You should get this bad behavior with Puppet 3.0rc. <pre> Error: Could not autoload puppet/face/node/classify: no such file to load -- fog Error: Could not autoload puppet/face/node: Could not autoload puppet/face/node/classify: no such file to load -- fog Error: Failed to load face node: Error: Could not find version current of node Error: Try 'puppet help help help' for usage </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.
