Issue #2702 has been updated by John A. Barbuto.

I came up with a fix that works for me, feel free to apply.  It's at 
git://git.barbuto.org/puppet.git tickets/0.25.x/2702
----------------------------------------
Bug #2702: puppetdoc rdoc mode fails if outputdir not specified
http://projects.reductivelabs.com/issues/2702

Author: John A. Barbuto
Status: Accepted
Priority: Normal
Assigned to: Brice Figureau
Category: documentation
Target version: 0.25.1
Affected version: 0.25.1
Keywords: 
Branch: 


The RDoc mode in puppetdoc is fantastic, thanks for adding it.  I had a problem 
getting it to work though:

<pre>
# puppetdoc --mode rdoc
/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: can't convert nil into String
</pre>

I found it works when @--outputdir@ is specified.  According to 
http://reductivelabs.com/trac/puppet/wiki/PuppetManifestDocumentation, it 
should be optional and default to _doc/_.


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

Reply via email to