In order to reduce potentially unnecessary network traffic and data that may be unused, Puppet should optionally allow the unchanged resource events to not be serialized when the reports are generated:
In order to reduce potentially unnecessary network traffic and data that may be unused, Puppet should optionally allow the unchanged resource statuses and their events to not be serialized when the reports are generated:
The report contains an array of resource statuses {{Puppet::Resource::Status}} The status contains the result of managing a single resource {{Puppet::Type::<name>}} There may be 0 or more events {{Puppet::Transaction::Event}} per resource status. Each event captures the current and desired values for each property, e.g. if puppet changes the {{owner}} property for the {{file}} type, then the event will contain the old and new values.
I believe {{Puppet::Resource::Status#out_of_sync?}} method can be used to filter which statuses to include/exclude. If it results {{false}}, then no changes were necessary.
For this ticket:
1. Create a boolean puppet setting to exclude unchanged resources statuses and their events. For 7.x, it should default to the current behavior of including all statuses. 2. Update the {{Report#to_data_hash}} method to exclude the status object based on "out_of_sync?"
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppe...@googlegroups.com
I believe the {{Puppet::Resource::Status#out_of_sync?}} method can be used to filter which statuses to include/exclude. If it results {{{}false{}}}, then no changes were necessary.
For this ticket:
1. Create a boolean puppet setting to exclude unchanged resources statuses and their events. For 7.x, it should default to the current behavior of including all statuses. 2. Update the {{Report#to_data_hash}} method to exclude the status object based on "out_of_sync?"
{}Report#to_data_hash{}}}, it's important that the original {{corrective_change}} and {{noop_pending}} data be preserved. I believe it will work that way, but it's something to check.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppe...@googlegroups.com
, it's important that the original {{corrective_change}} and {{noop_pending}} data be preserved. I believe it will work that way, but it's something to check.
I believe the {{Puppet::Resource::Status#out_of_sync?}} method can be used to filter which statuses to include/exclude. If it results returns {{{}false{}}}, then no changes were necessary.
For this ticket:
1. Create a boolean puppet setting to exclude unchanged resources statuses and their events. For 7.x, it should default to the current behavior of including all statuses. 2. Update the {{Report#to_data_hash}} method to exclude the status object based on "out_of_sync?"
{}Report#to_data_hash{}}}, it's important that the original {{corrective_change}} and {{noop_pending}} data be preserved. I believe it will work that way, but it's something to check.
I believe the {{Puppet::Resource::Status#out_of_sync?}} method can be used to filter which statuses to include/exclude. If it returns {{{}false{}}}, then no changes were necessary.
For this ticket:
1. Create a boolean puppet setting to exclude unchanged resources statuses and their events. For 7.x, it should default to the current behavior of including all statuses. 2. Update the {{Report#to_data_hash}} method to exclude the status object based on "out_of_sync?"