(PE-1300) Don't ignore failed resource statuses
Prior to this commit, the PuppetDB report processor/terminus ignored 'failed' resource statuses unless they have events. This commit changes the processor so it no longer ignores them and instead it fabricates an appropriate event to attach to the 'failed' resource status. Ideally, Puppet should be including resource events even for 'failed' statuses, but until then, and to support backwards compatibility, we can just fabricate the events.
Showing with 74 additions and 25 deletions