Issue #5252 has been updated by Brice Figureau. Affected Puppet version set to 2.6.0 Branch set to https://github.com/masterzen/puppet/tree/tickets/2.6.x/5252
---------------------------------------- Bug #5252: puppetdoc skips resource comments after variables https://projects.puppetlabs.com/issues/5252 Author: Luke Bigum Status: Ready for Checkin Priority: Normal Assignee: Category: executables Target version: 2.6.3 Affected Puppet version: 2.6.0 Keywords: puppetdoc communitypatch Branch: https://github.com/masterzen/puppet/tree/tickets/2.6.x/5252 I've noticed a bug when using puppetdoc where the first resource after a variable definition does not get any method description generated, but all subsequent resources do. Consider this init.pp for a test module with puppetdoc comments: #====Class test # #This is a test class. class test { #A variable $foo = "bar" #first resource file { "/tmp/first": ensure => present, } #second resource file { "/tmp/second": ensure => present, } } The comment "first resource" is not put in the HTML for the resource "/tmp/first" whereas the second comment is. If you remove the variable definition this works fine. -- 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.
