Issue #10676 has been updated by Jacob Helwig.

Status changed from In Topic Branch Pending Review to Merged - Pending Release
Target version changed from Telly to 2.7.10

Merged brices patch into 2.7.x in 
commit:04b027b8d4a4e13b4b9f2ee7cd4c01715ffd68e8

    (#10676) Include all resource statuses in reports regardless of count
    
    Before, we would only include resource status states, and
    failure/success counts if there were resources that were in these
    various states.  We now initialize the hashes used to gather the
    counts of these metrics so that they will include all known states,
    even if the count of resources that were in that state is zero.
    
    Signed-off-by: Brice Figureau <[email protected]>
    Signed-off-by: Jacob Helwig <[email protected]>
----------------------------------------
Bug #10676: last run summary is an inconsistent data structure
https://projects.puppetlabs.com/issues/10676

Author: Nigel Kersten
Status: Merged - Pending Release
Priority: High
Assignee: 
Category: reports
Target version: 2.7.10
Affected Puppet version: 
Keywords: 
Branch: https://github.com/masterzen/puppet/tree/tickets/2.7.x/10676


  * If a run has a failed resource such that all the subsequent events don't 
fire, we don't write out 'events 0', we simply don't put in the events key.

RI's real world use of this file led him to need to create a hash with the 
following data and merge it in. We should be consistent so this isn't needed.

  * failed
  * changed
  * total
  * restarted
  * out of sync

We should just do something similar but with absolutely every top level item. 
Start with the base data structure, and merge into it, rather than building it 
up as it sounds like we're doing.


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

Reply via email to