Issue #4349 has been updated by James Turnbull. Status changed from Unreviewed to Accepted Assigned to set to Brice Figureau Target version set to 2.6.1
---------------------------------------- Bug #4349: puppetdoc cannot parse site.pp http://projects.puppetlabs.com/issues/4349 Author: Alan Harder Status: Accepted Priority: Normal Assigned to: Brice Figureau Category: executables Target version: 2.6.1 Affected version: 2.6.0 Keywords: Branch: <pre>cd /tmp mkdir foo echo "# Default node" > foo/nodes.pp echo "node default { }" >> foo/nodes.pp /opt/csw/bin/puppet doc --trace -m rdoc --manifestdir /tmp/foo --modulepath /bogus/path</pre> The above runs ok with 2.6.0 / ruby 1.8.7 / Solaris 10. Now do: <pre>touch foo/site.pp</pre> and run the "puppet doc" command again. The result is: <pre>/opt/csw/lib/ruby/1.8/rdoc/dot/dot.rb:28: warning: already initialized constant NODE_OPTS /opt/csw/lib/ruby/1.8/rdoc/dot/dot.rb:46: warning: already initialized constant EDGE_OPTS /opt/csw/lib/ruby/1.8/rdoc/dot/dot.rb:76: warning: already initialized constant GRAPH_OPTS /opt/csw/lib/ruby/site_ruby/1.8/puppet/parser/parser_support.rb:93:in `file=' /opt/csw/lib/ruby/site_ruby/1.8/puppet/util/rdoc/parser.rb:37:in `scan' /opt/csw/lib/ruby/1.8/rdoc/rdoc.rb:226:in `parse_files' /opt/csw/lib/ruby/1.8/rdoc/rdoc.rb:219:in `each' /opt/csw/lib/ruby/1.8/rdoc/rdoc.rb:219:in `parse_files' /opt/csw/lib/ruby/1.8/rdoc/rdoc.rb:264:in `document' /opt/csw/lib/ruby/site_ruby/1.8/puppet/util/rdoc.rb:35:in `rdoc' /opt/csw/lib/ruby/site_ruby/1.8/puppet/application/doc.rb:85:in `rdoc' /opt/csw/lib/ruby/site_ruby/1.8/puppet/application/doc.rb:59:in `send' /opt/csw/lib/ruby/site_ruby/1.8/puppet/application/doc.rb:59:in `run_command' /opt/csw/lib/ruby/site_ruby/1.8/puppet/application.rb:301:in `run' /opt/csw/lib/ruby/site_ruby/1.8/puppet/application.rb:398:in `exit_on_fail' /opt/csw/lib/ruby/site_ruby/1.8/puppet/application.rb:301:in `run' /opt/csw/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:55:in `execute' /opt/csw/bin/puppet:4 Could not generate documentation: Import loop detected</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.
