• Karel Březina's avatar
    (PE-15587) Set noop flag on a report to true only if all its resource events are noop · b6c2243f
    Karel Březina authored
    This commit improves the algorithm which tries to recognize that puppet run was started with --noop param. Originally, any noop resource event caused that the whole report was marked as noop. However, a noop puppet run would have all resource events in noop state. With this commit, all resource events need to be noop to mark the whole report as noop.
    
    The current implementation is not able to recognize an unchanged noop puppet run since it doesn't contain any events. So, this improvement is just a workaround. To be able to recognize noop puppet runs properly, puppet needs to report in which mode was the run started. This problem is logged as PUP-6294.
    b6c2243f
puppetdb.rb 6.42 KB