Issue #2433 has been updated by Brice Figureau. Category set to documentation Status changed from Unreviewed to Accepted Assigned to set to Brice Figureau Priority changed from Normal to Low Target version set to 0.25.0 Complexity changed from Unknown to Trivial
The problem is that puppetdoc parses the manifest, but doesn't compile it. That means puppetdoc "interprets" the manifests and tries to build some values to print from the AST. It relies on the fact that the to_s method of those AST node produces some meaningful values, which is the case for the AST::Leaf but not for the ResourceReferences. ResourceReference#to_s doesn't exist, so it uses Object#to_s which prints: #<Puppet::Parser::AST::ResourceReference:0xb7832c5c> Since you're looking to html, the browser strips the <> which doesn't parse as a valid html tag, and you're seeing only the # character. ---------------------------------------- Bug #2433: puppetdoc seems unable to properly generate documentation for arrays, and sometimes metaparameters. http://projects.reductivelabs.com/issues/2433 Author: P A Status: Accepted Priority: Low Assigned to: Brice Figureau Category: documentation Target version: 0.25.0 Complexity: Trivial Affected version: 0.24.8 Keywords: puppetdoc does not generate any errors, however it displays "#" for array elements and sometimes for metaparameters. Attached are files which contains snippets of the resource and the generated HTML, debug output and facter output from the server running puppetdoc please let me kniw if you need more info Thanks -- 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 -~----------~----~----~----~------~----~------~--~---
