Issue #2422 has been updated by Brice Figureau. Status changed from Accepted to Ready for Testing
---------------------------------------- Bug #2422: puppetdoc error with unquoted "true" http://projects.reductivelabs.com/issues/2422 Author: Alan Harder Status: Ready for Testing Priority: Normal Assigned to: Brice Figureau Category: documentation Target version: 0.25.0 Complexity: Trivial Affected version: 0.24.8 Keywords: With this in nodes.pp: <pre> node mytest { $a = 'test' $b = true } </pre> I get the following error when running puppetdoc: <pre> Could not generate documentation: private method `gsub' called for true:TrueClass /opt/csw/lib/ruby/1.8/cgi.rb:362:in `escapeHTML' /opt/csw/lib/ruby/1.8/rdoc/generators/html_generator.rb:369:in `build_constants_summary_list' /opt/csw/lib/ruby/1.8/rdoc/generators/html_generator.rb:365:in `each' /opt/csw/lib/ruby/1.8/rdoc/generators/html_generator.rb:365:in `build_constants_summary_list' /opt/csw/lib/ruby/site_ruby/1.8/puppet/util/rdoc/generators/puppet_generator.rb:466:in `value_hash' /opt/csw/lib/ruby/site_ruby/1.8/puppet/util/rdoc/generators/puppet_generator.rb:455:in `map' /opt/csw/lib/ruby/site_ruby/1.8/puppet/util/rdoc/generators/puppet_generator.rb:455:in `value_hash' /opt/csw/lib/ruby/site_ruby/1.8/puppet/util/rdoc/generators/puppet_generator.rb:429:in `write_on' /opt/csw/lib/ruby/1.8/rdoc/generators/html_generator.rb:1293:in `gen_into' /opt/csw/lib/ruby/1.8/rdoc/generators/html_generator.rb:1293:in `open' /opt/csw/lib/ruby/1.8/rdoc/generators/html_generator.rb:1293:in `gen_into' /opt/csw/lib/ruby/1.8/rdoc/generators/html_generator.rb:1289:in `each' /opt/csw/lib/ruby/1.8/rdoc/generators/html_generator.rb:1289:in `gen_into' /opt/csw/lib/ruby/site_ruby/1.8/puppet/util/rdoc/generators/puppet_generator.rb:71:in `generate_html' /opt/csw/lib/ruby/1.8/rdoc/generators/html_generator.rb:1197:in `generate' /opt/csw/lib/ruby/1.8/rdoc/rdoc.rb:284:in `document' /opt/csw/lib/ruby/site_ruby/1.8/puppet/util/rdoc.rb:30:in `rdoc' /opt/csw/bin/puppetdoc:202 </pre> If I comment out either line or put quotes around 'true' then the error goes away. -- 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 -~----------~----~----~----~------~----~------~--~---
