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

It's still going into the current dir for me:

<pre>
% git checkout origin/ticket/2.6.x/4798
HEAD is now at 3904ad7... [#4798] Puppet doc manifests documentation mode broken

% cd puppet
% RUBYLIB=lib bin/puppet doc --outputdir /tmp/puppetdoc --mode rdoc 
--modulepath=/etc/puppet/manifests/common --manifest=/home/rip/site.pp
/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: Definition 'test' is already defined at 
/home/rip/puppet/test/data/snippets/hash.pp:16; cannot be redefined at 
/home/rip/puppet/test/data/snippets/collection_within_virtual_definitions.pp:1
</pre>

In this case the site.pp is empty
----------------------------------------
Bug #4798: Puppet doc manifests documentation mode broken
http://projects.puppetlabs.com/issues/4798

Author: James Turnbull
Status: Ready for Testing
Priority: High
Assignee: Paul Berry
Category: documentation
Target version: 2.6.2
Affected version: 2.6.0
Keywords: 
Branch: http://github.com/stereotype441/puppet/tree/ticket/2.6.x/4798


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