Issue #4798 has been updated by R.I. Pienaar aka Volcane.

Same finding as above for me, in the past I got it to do work with this:

<pre>
puppetdoc --outputdir /tmp/puppetdoc --mode rdoc 
--modulepath=/home/rip/puppet/modules/ --manifest=/home/rip/site.pp
</pre>

Where site.pp is just empty, this now does:

<pre>
/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
Could not generate documentation: Import loop detected
</pre>

The 1st 3 lines i think is Ruby version related

ruby 1.8.6 (2008-08-11 patchlevel 287) [x86_64-linux]
----------------------------------------
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