Issue #4348 has been reported by Alan Harder.
----------------------------------------
Bug #4348: puppetdoc for single file
http://projects.puppetlabs.com/issues/4348
Author: Alan Harder
Status: Unreviewed
Priority: Normal
Assigned to:
Category: executables
Target version:
Affected version: 2.6.0
Keywords:
Branch:
Running "puppet doc --trace {file.pp}" with 2.6.0 / ruby 1.8.7 / Solaris 10
results in this error:
<pre>/opt/csw/lib/ruby/site_ruby/1.8/puppet/resource/type_collection_helper.rb:5:in
`known_resource_types'
/opt/csw/lib/ruby/site_ruby/1.8/puppet/parser/parser_support.rb:93:in `file='
/opt/csw/lib/ruby/site_ruby/1.8/puppet/util/rdoc.rb:45:in `manifestdoc'
/opt/csw/lib/ruby/site_ruby/1.8/puppet/util/rdoc.rb:43:in `each'
/opt/csw/lib/ruby/site_ruby/1.8/puppet/util/rdoc.rb:43:in `manifestdoc'
/opt/csw/lib/ruby/site_ruby/1.8/puppet/application/doc.rb:82:in `rdoc'
/opt/csw/lib/ruby/site_ruby/1.8/puppet/application/doc.rb:59:in `send'
/opt/csw/lib/ruby/site_ruby/1.8/puppet/application/doc.rb:59:in `run_command'
/opt/csw/lib/ruby/site_ruby/1.8/puppet/application.rb:301:in `run'
/opt/csw/lib/ruby/site_ruby/1.8/puppet/application.rb:398:in `exit_on_fail'
/opt/csw/lib/ruby/site_ruby/1.8/puppet/application.rb:301:in `run'
/opt/csw/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:55:in `execute'
/opt/csw/bin/puppet:4
Could not generate documentation: undefined method `known_resource_types' for
{:environment=>"production"}:Hash</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.