Issue #1816 has been updated by masterzen.

Category set to documentation
Status changed from Unreviewed to Duplicate
Assigned to set to masterzen
Target version set to 0.24.7
% Done changed from 0 to 100
Complexity changed from Unknown to Trivial

I think this is a dup of #1815.
Can you retest with the one-liner I posted in #1815?
If that doesn't fix it, please re-open.
----------------------------------------
Bug #1816: Puppetdoc doesn't like manifests that have type level operations
http://projects.reductivelabs.com/issues/show/1816

Author: thom
Status: Duplicate
Priority: Normal
Assigned to: masterzen
Category: documentation
Target version: 0.24.7
Complexity: Trivial
Affected version: 0.24.6
Keywords: 


a class with:
class powerdns::mysql inherits powerdns {
  package {"pdns-backend-mysql" : ensure => 'latest' }
 
  File ["/etc/powerdns/pdns.d/pdns.local"] {
    source => "puppet:///powerdns/pdns.local.mysql",
  }
 
}

causes:
debug: rdoc: found new class powerdns::mysql
debug: rdoc: found resource: Package[pdns-backend-mysql]
/home/thom/code/puppet/lib/puppet/util/rdoc/parser.rb:171:in `scan_for_resource'
/home/thom/code/puppet/lib/puppet/util/rdoc/parser.rb:167:in `each'
/home/thom/code/puppet/lib/puppet/util/rdoc/parser.rb:167:in `scan_for_resource'
/home/thom/code/puppet/lib/puppet/util/rdoc/parser.rb:213:in `document_class'
/home/thom/code/puppet/lib/puppet/util/rdoc/parser.rb:287:in `parse_elements'
/home/thom/code/puppet/lib/puppet/util/rdoc/parser.rb:284:in `each'
/home/thom/code/puppet/lib/puppet/util/rdoc/parser.rb:284:in `parse_elements'
/home/thom/code/puppet/lib/puppet/util/rdoc/parser.rb:130:in `scan_top_level'
/home/thom/code/puppet/lib/puppet/util/rdoc/parser.rb:38:in `scan'
/usr/lib/ruby/1.8/rdoc/rdoc.rb:226:in `parse_files'
/usr/lib/ruby/1.8/rdoc/rdoc.rb:219:in `each'
/usr/lib/ruby/1.8/rdoc/rdoc.rb:219:in `parse_files'
/usr/lib/ruby/1.8/rdoc/rdoc.rb:264:in `document'
/home/thom/code/puppet/lib/puppet/util/rdoc.rb:30:in `rdoc'
/home/thom/code/puppet/bin/puppetdoc:202
Could not generate documentation: private method `split' called for nil:NilClass
 


----------------------------------------
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to