Issue #1816 has been reported by thom.
----------------------------------------
Bug #1816: Puppetdoc doesn't like manifests that have type level operations
http://projects.reductivelabs.com/issues/show/1816
Author: thom
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Complexity: Unknown
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
-~----------~----~----~----~------~----~------~--~---