Issue #3380 has been reported by Florian Wagner.

----------------------------------------
Bug #3380: puppetdoc doesn't generate documentation for resources inside 
conditionals
http://projects.reductivelabs.com/issues/3380

Author: Florian Wagner
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: 
Target version: 
Affected version: 0.25.4
Keywords: 
Branch: 


When documenting a class such as the following puppetdoc generates a 
documentation entry for the class itself but not for its contained resources:
 
  class test {
  if(false) {
      # the documentation
    file { "/abc":
      mode => 775,
    }
  }
}

It is independent of the evaluation of the conditional. Even if(true) { ... 
doesn't result in documentation.


-- 
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.

Reply via email to