Issue #1815 has been updated by masterzen. Status changed from Accepted to Ready for Testing Assigned to changed from masterzen to jamtur01 % Done changed from 0 to 100
masterzen wrote: > Puppetdoc crash with the following stack trace when generating manifest > documentation (with --all): Fixed in tickets/0.24.x/1815 in my github repository: http://github.com/masterzen/puppet/tree/tickets/0.24.x/1815 The patch is really trivial and is safe to merge. Please push for 0.24.7. ---------------------------------------- Bug #1815: Puppetdoc crash on resource overrides documenation. http://projects.reductivelabs.com/issues/show/1815 Author: masterzen Status: Ready for Testing Priority: Normal Assigned to: jamtur01 Category: documentation Target version: 0.24.7 Complexity: Trivial Affected version: 0.24.6 Keywords: doc manifest crash puppetdoc Puppetdoc crash with the following stack trace when generating manifest documentation (with --all): <pre> /tmp/puppet-0.24.7rc2/lib/puppet/util/rdoc/parser.rb:171:in `scan_for_resource' /tmp/puppet-0.24.7rc2/lib/puppet/util/rdoc/parser.rb:167:in `each' /tmp/puppet-0.24.7rc2/lib/puppet/util/rdoc/parser.rb:167:in `scan_for_resource' /tmp/puppet-0.24.7rc2/lib/puppet/util/rdoc/parser.rb:213:in `document_class' /tmp/puppet-0.24.7rc2/lib/puppet/util/rdoc/parser.rb:287:in `parse_elements' /tmp/puppet-0.24.7rc2/lib/puppet/util/rdoc/parser.rb:284:in `each' /tmp/puppet-0.24.7rc2/lib/puppet/util/rdoc/parser.rb:284:in `parse_elements' /tmp/puppet-0.24.7rc2/lib/puppet/util/rdoc/parser.rb:130:in `scan_top_level' /tmp/puppet-0.24.7rc2/lib/puppet/util/rdoc/parser.rb:38:in `scan' /usr/local/lib/ruby/1.8/rdoc/rdoc.rb:226:in `parse_files' /usr/local/lib/ruby/1.8/rdoc/rdoc.rb:219:in `each' /usr/local/lib/ruby/1.8/rdoc/rdoc.rb:219:in `parse_files' /usr/local/lib/ruby/1.8/rdoc/rdoc.rb:264:in `document' /tmp/puppet-0.24.7rc2/lib/puppet/util/rdoc.rb:30:in `rdoc' bin/puppetdoc:202 Could not generate documentation: private method `split' called for nil:NilClass the following minimal manifest is the cause: <pre> class test { file{"/tmp/test": ensure => absent } } class test2 inherits test{ tag(testtag) File["/tmp/test"]{ ensure => absent } } </pre> Resource overrides have a nil type and shouldn't be treated as real resources. Patch in preparation. ---------------------------------------- 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://reductivelabs.com/redmine/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 -~----------~----~----~----~------~----~------~--~---
