The result of an apply statement in a Bolt Plan is a ResultSet (a list of results from each target). The results include the report from applying Puppet, which includes all those details. See https://puppet.com/docs/bolt/latest/applying_manifest_blocks.html#return-value-of-apply-action for how to access that. The log output itself is available as well, see the comments on https://tickets.puppetlabs.com/browse/BOLT-901 for an example of printing those logs. I think making some helpers for printing report results would be a useful module to add to the Forge.
https://tickets.puppetlabs.com/browse/BOLT-991 was opened to get more progressive log output, but hasn't been re-opened after moving to GitHub Issues. On Mon, Jan 6, 2020 at 7:16 AM Brent Clark <[email protected]> wrote: > Good day Guys > > In the traditional, master - agent sense, when ever puppet changes a > file, you would see the "diff/changes" been applied. > > Can bolt too show the changes applied? > > Regards > Brent > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/a90bfbd9-af6b-3221-f7a7-2fcfd23bc329%40gmail.com > . > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CABy1mM%2BjTrfetsFFTuHVH%3DGBnCFQPZ88trc9bG1NaSR9d5uz1A%40mail.gmail.com.
