Here is an example showing, after the change, how refresh-only events like the exec shown here, or e.g. a reboot event (which inspired this fix), will now show up in logs and reports:
kris.bosland@kris:puppet % cat ../tmp/pup-9339/tmp.pp
notify {'notify 9339': } ~> exec {'refreshed exec 9339': command => 'true', path => '/usr/bin', refreshonly => true }
exec {'non-refreshed exec 9339': command => 'true', path => '/usr/bin', onlyif => '/usr/bin/true' }
kris.bosland@kris:puppet % bx puppet apply ../tmp/pup-9339/tmp.pp --logdir ../tmp/pup-9339/files --reportdir ../tmp/pup-9339/files/
DEBUG: send_log Module(notice:Compiled catalog for kris.bosland-c02kf9eafft1 in environment production in 0.10 seconds)
Notice: Compiled catalog for kris.bosland-c02kf9eafft1 in environment production in 0.10 seconds
DEBUG: send_log Module(info:Applying configuration version '1545159653')
DEBUG: send_log Module(notice:notify 9339)
Notice: notify 9339
DEBUG: send_log Puppet::Transaction::Event(notice:defined 'message' as 'notify 9339')
Notice: /Stage[main]/Main/Notify[notify 9339]/message: defined 'message' as 'notify 9339'
DEBUG: send_log Puppet::Type::Notify(info:Scheduling refresh of Exec[refreshed exec 9339])
DEBUG: send_log Puppet::Type::Exec(notice:Triggered 'refresh' from 1 event)
Notice: /Stage[main]/Main/Exec[refreshed exec 9339]: Triggered 'refresh' from 1 event
DEBUG: send_log Puppet::Transaction::Event(notice:executed successfully)
Notice: /Stage[main]/Main/Exec[non-refreshed exec 9339]/returns: executed successfully
DEBUG: send_log Module(notice:Applied catalog in 0.06 seconds)
Notice: Applied catalog in 0.06 seconds
kris.bosland@kris:puppet % grep -rn 9339 ../tmp/pup-9339/files
../tmp/pup-9339/files/kris.bosland-c02kf9eafft1/201812181900.yaml:15: message: notify 9339
../tmp/pup-9339/files/kris.bosland-c02kf9eafft1/201812181900.yaml:23: message: defined 'message' as 'notify 9339'
../tmp/pup-9339/files/kris.bosland-c02kf9eafft1/201812181900.yaml:24: source: "/Stage[main]/Main/Notify[notify 9339]/message"
../tmp/pup-9339/files/kris.bosland-c02kf9eafft1/201812181900.yaml:30: file: "/Users/kris.bosland/work/tmp/pup-9339/tmp.pp"
../tmp/pup-9339/files/kris.bosland-c02kf9eafft1/201812181900.yaml:34: source: "/Stage[main]/Main/Exec[refreshed exec 9339]"
../tmp/pup-9339/files/kris.bosland-c02kf9eafft1/201812181900.yaml:40: file: "/Users/kris.bosland/work/tmp/pup-9339/tmp.pp"
../tmp/pup-9339/files/kris.bosland-c02kf9eafft1/201812181900.yaml:44: source: "/Stage[main]/Main/Exec[non-refreshed exec 9339]/returns"
../tmp/pup-9339/files/kris.bosland-c02kf9eafft1/201812181900.yaml:50: file: "/Users/kris.bosland/work/tmp/pup-9339/tmp.pp"
../tmp/pup-9339/files/kris.bosland-c02kf9eafft1/201812181900.yaml:141: Notify[notify 9339]:
../tmp/pup-9339/files/kris.bosland-c02kf9eafft1/201812181900.yaml:142: title: notify 9339
../tmp/pup-9339/files/kris.bosland-c02kf9eafft1/201812181900.yaml:143: file: "/Users/kris.bosland/work/tmp/pup-9339/tmp.pp"
../tmp/pup-9339/files/kris.bosland-c02kf9eafft1/201812181900.yaml:145: resource: Notify[notify 9339]
../tmp/pup-9339/files/kris.bosland-c02kf9eafft1/201812181900.yaml:151: - Notify[notify 9339]
../tmp/pup-9339/files/kris.bosland-c02kf9eafft1/201812181900.yaml:168: desired_value: notify 9339
../tmp/pup-9339/files/kris.bosland-c02kf9eafft1/201812181900.yaml:170: message: defined 'message' as 'notify 9339'
../tmp/pup-9339/files/kris.bosland-c02kf9eafft1/201812181900.yaml:177: Exec[refreshed exec 9339]:
../tmp/pup-9339/files/kris.bosland-c02kf9eafft1/201812181900.yaml:178: title: refreshed exec 9339
../tmp/pup-9339/files/kris.bosland-c02kf9eafft1/201812181900.yaml:179: file: "/Users/kris.bosland/work/tmp/pup-9339/tmp.pp"
../tmp/pup-9339/files/kris.bosland-c02kf9eafft1/201812181900.yaml:181: resource: Exec[refreshed exec 9339]
../tmp/pup-9339/files/kris.bosland-c02kf9eafft1/201812181900.yaml:187: - Exec[refreshed exec 9339]
../tmp/pup-9339/files/kris.bosland-c02kf9eafft1/201812181900.yaml:213: Exec[non-refreshed exec 9339]:
../tmp/pup-9339/files/kris.bosland-c02kf9eafft1/201812181900.yaml:214: title: non-refreshed exec 9339
../tmp/pup-9339/files/kris.bosland-c02kf9eafft1/201812181900.yaml:215: file: "/Users/kris.bosland/work/tmp/pup-9339/tmp.pp"
../tmp/pup-9339/files/kris.bosland-c02kf9eafft1/201812181900.yaml:217: resource: Exec[non-refreshed exec 9339]
../tmp/pup-9339/files/kris.bosland-c02kf9eafft1/201812181900.yaml:223: - Exec[non-refreshed exec 9339]
kris.bosland@kris:puppet %