Issue #7574 has been updated by R.I. Pienaar. Status changed from Ready For Checkin to Closed
833960e (3 files in 3 dirs): http://bit.ly/kd0W8C ---------------------------------------- Bug #7574: Single app framework needs better error reporting for config file errors https://projects.puppetlabs.com/issues/7574 Author: R.I. Pienaar Status: Closed Priority: Normal Assignee: R.I. Pienaar Category: Core Target version: 1.3.x Keywords: Branch: ripienaar/bug/master/7574 Affected mCollective version: Given a config file with for example 'identity' spelled wrong the following happens: <pre> % mco help The Marionette Collective version 1.2.0 /usr/bin/mco: command (options) Known commands: </pre> When it actually had an error parsing the config: <pre> % ruby -r mcollective -r pp -e 'pp MCollective::Applications.load_config' /usr/lib/ruby/site_ruby/1.8/mcollective/config.rb:95:in `loadconfig': Unknown config parameter identit (RuntimeError) from /usr/lib/ruby/site_ruby/1.8/mcollective/config.rb:21:in `each' from /usr/lib/ruby/site_ruby/1.8/mcollective/config.rb:21:in `loadconfig' from /usr/lib/ruby/site_ruby/1.8/mcollective/applications.rb:126:in `load_config' from -e:1 </pre> This should be caught and reported to the user -- 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.
