puppetdoc rdoc mode fails if outputdir not specified
|Assignee:||Brice Figureau||% Done:|
|Affected Puppet version:||0.25.1||Branch:|
The RDoc mode in puppetdoc is fantastic, thanks for adding it. I had a problem getting it to work though:
# 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
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/.