Issue #19149 has been updated by simon marechal.
Affected Puppet version changed from 3.1.0 to 3.3.0
This also happens when you have that kind of lines in the manifest :
$sshChroot = { 'deploygroup' => '%h' }
----------------------------------------
Bug #19149: puppet doc unable to create documentation of class when it
encounters a hash of depth > 1
https://projects.puppetlabs.com/issues/19149#change-98242
* Author: Pascal Spörri
* Status: Investigating
* Priority: Normal
* Assignee: eric sorenson
* Category:
* Target version:
* Affected Puppet version: 3.3.0
* Keywords: puppetdoc, hashes
* Branch:
----------------------------------------
Puppet doc is unable to create the documentation of a class when the class body
contains a hash of depth > 1.
**Example**:
# = Class: foo::bar
class bar {
$k = {
"a" => {
"b" => "c"
},
}
}
**Expected Result**: The execution of
/usr/bin/puppet doc --mode rdoc --outputdir /var/www/puppet --modulepath
/etc/puppet/modules --charset utf-8
should insert the parsed rdoc documentation of the class file in the
appropriate output html in the output directory.
**Observed behaviour**: No rdoc output is generated for classes containing
hashes with a depth > 1. See attached screenshot.
--
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.