Issue #3381 has been updated by Brice Figureau.

Tracker changed from Bug to Feature
Status changed from Unreviewed to Accepted
Assigned to set to Brice Figureau

Defaults and/or override are not parsed in the current version. 
Resource parsing wasn't even planned in the first instance (ie I considered 
those as internal private information) and only classes and definitions were 
documented.
I'm accepting the feature request, but it is unplanned for the moment.
----------------------------------------
Feature #3381: puppetdoc doesn't generate documentation for modifications of 
resource properties
http://projects.reductivelabs.com/issues/3381

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


When using puppetdoc to document classes which redefine some part of a resource 
these entries get no documentation generated:

  class a {
    # doc a
  file { "/abc":
    mode => 775,
  }
}
  
  class b {
    # doc b
  File["/abc"] {
    mode => 664,
  }
}

  class c {
    # doc c
  File["/abc"] {
    owner => root,                                                             
  }
}

Only class a will get an entry for the "/abc" file. Classes b and c get no 
documentation entries about the extension or redefinition of properties of 
"/abc".


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