Issue #5252 has been reported by Luke Bigum.
----------------------------------------
Bug #5252: puppetdoc skips resource comments after variables
https://projects.puppetlabs.com/issues/5252
Author: Luke Bigum
Status: Unreviewed
Priority: Normal
Assignee:
Category: executables
Target version:
Affected Puppet version:
Keywords: puppetdoc
Branch:
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.