Issue #7314 has been updated by Daniel Pittman. Status changed from Unreviewed to Accepted Assignee set to Daniel Pittman Target version set to Statler Affected Puppet version set to 2.7.0rc1
---------------------------------------- Bug #7314: Faces should not fail when it finds an invalid face https://projects.puppetlabs.com/issues/7314 Author: Dan Bode Status: Accepted Priority: Normal Assignee: Daniel Pittman Category: Faces Target version: Statler Affected Puppet version: 2.7.0rc1 Keywords: Branch: The below example fails b/c /usr/local/dev/interface-utils/lib/puppet/face/dashboard.rb has a syntax error, it should just warn and still load what it can. <pre> [root@mypuppetmaster dev]# puppet help config /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': /usr/local/dev/interface-utils/lib/puppet/face/dashboard.rb:10: syntax error (SyntaxError) parser = Puppet::[:parser, :current] ^ from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/local/dev/puppet//lib/puppet/interface/face_collection.rb:91:in `load_face' from /usr/local/dev/puppet//lib/puppet/interface/face_collection.rb:69:in `[]' from /usr/local/dev/puppet//lib/puppet/interface.rb:49:in `face?' from /usr/local/dev/puppet//lib/puppet/face/help.rb:105:in `legacy_applications' from /usr/local/dev/puppet//lib/puppet/face/help.rb:104:in `reject' from /usr/local/dev/puppet//lib/puppet/face/help.rb:104:in `legacy_applications' from /usr/local/dev/puppet//lib/puppet/face/help.rb:66:in `help implementation, required on Ruby 1.8' ... 8 levels... from /usr/local/dev/puppet//lib/puppet/application.rb:402:in `exit_on_fail' from /usr/local/dev/puppet//lib/puppet/application.rb:307:in `run' from /usr/local/dev/puppet//lib/puppet/util/command_line.rb:62:in `execute' from /usr/local/dev/puppet//bin/puppet:4 </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.
