Issue #4798 has been updated by Ryan Coleman.

Over the weekend, I setup my Fedora 13 environment with Puppet 2.6.1 and Ruby 
1.8.6 and re-ran the command with slightly better results, now matching what RI 
reported. 

<pre>
[r...@pretzel puppet]$ puppet doc -m rdoc --modulepath=/path/to/modules 
--manifest=/path/to/site.pp --trace --debug
info: scanning: ["/tmp/puppet/modules", "/tmp/puppet"]
/usr/lib/ruby/1.8/rdoc/dot/dot.rb:28: warning: already initialized constant 
NODE_OPTS
/usr/lib/ruby/1.8/rdoc/dot/dot.rb:46: warning: already initialized constant 
EDGE_OPTS
/usr/lib/ruby/1.8/rdoc/dot/dot.rb:76: warning: already initialized constant 
GRAPH_OPTS
info: rdoc: scanning /tmp/puppet/modules/rt/manifests/rt.pp
debug: rdoc: testing /tmp/puppet/modules/rt/manifests/rt.pp
debug: rdoc: module rt into /tmp/puppet/modules ?
debug: rdoc: found module rt
debug: rdoc: scanning for rt
debug: rdoc: scanning manifest
debug: rdoc: found new class rt
debug: rdoc: found new class rt-configure
debug: rdoc: found new class rt-deploy
debug: rdoc: found new class rt-make
info: rdoc: scanning /tmp/puppet/modules/rt/manifests/rt.pp
/usr/lib/ruby/site_ruby/1.8/puppet/parser/parser_support.rb:93:in `file='
/usr/lib/ruby/site_ruby/1.8/puppet/util/rdoc/parser.rb:39: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'
/usr/lib/ruby/site_ruby/1.8/puppet/util/rdoc.rb:35:in `rdoc'
/usr/lib/ruby/site_ruby/1.8/puppet/application/doc.rb:85:in `rdoc'
/usr/lib/ruby/site_ruby/1.8/puppet/application/doc.rb:59:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/application/doc.rb:59:in `run_command'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:300:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:397:in `exit_on_fail'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:300:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:55:in `execute'
/usr/bin/puppet:4
Could not generate documentation: Import loop detected
</pre>
----------------------------------------
Bug #4798: Puppet doc manifests documentation mode broken
http://projects.puppetlabs.com/issues/4798

Author: James Turnbull
Status: Accepted
Priority: High
Assignee: 
Category: documentation
Target version: 2.6.2
Affected version: 2.6.0
Keywords: 
Branch: 


In 2.6.1 (and looks like 2.6.0 also) the puppet doc manifests documentation is 
busted.

<pre>
$ puppet doc -o /tmp/doc -m rdoc /path/to/manifests/site.pp --debug
</pre>

Outputs:
<pre>
info: scanning: ["tmp/doc", "/path/to/manifests/site.pp"]
</pre>

And produces zilch output.



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

Reply via email to