Issue #14889 has been reported by Hunter Haugen. ---------------------------------------- Bug #14889: `puppet doc -m rdoc` should not read tests/ manifests https://projects.puppetlabs.com/issues/14889
Author: Hunter Haugen Status: Unreviewed Priority: Normal Assignee: Category: Target version: Affected Puppet version: Keywords: Branch: Running the command `puppet doc -m rdoc` will read through the manifests in `$manifestdir` and `$modulepath` looking for documentation headers. It appears that it also evaluates all `.pp` files into one catalog, so any conflicting resources in test manifests will keep documentation from compiling. PE will do this on a default master installation: <pre> hptest2# puppet doc -m rdoc /opt/puppet/lib/ruby/1.8/rdoc/dot/dot.rb:28: warning: already initialized constant NODE_OPTS /opt/puppet/lib/ruby/1.8/rdoc/dot/dot.rb:46: warning: already initialized constant EDGE_OPTS /opt/puppet/lib/ruby/1.8/rdoc/dot/dot.rb:76: warning: already initialized constant GRAPH_OPTS Could not generate documentation: Node 'default' is already defined at /opt/puppet/share/puppet/modules/pe_accounts/examples/site_do_nothing.pp:3; cannot redefine at /opt/puppet/share/puppet/modules/pe_accounts/examples/site_basic.pp:1 </pre> -- 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.
