puppetlabs / bolt

Bolt is an open source orchestration tool that automates the manual work it takes to maintain your infrastructure on an as-needed basis or as part of a greater orchestration workflow. It can be installed on your local workstation and connects directly to remote nodes with SSH or WinRM, so you are not required to install any agent software.
https://puppet.com/docs/bolt/latest/bolt.html
Apache License 2.0
497 stars 225 forks source link

Expose plan/task ID via Bolt API #3323

Open kruegerkyle95 opened 4 months ago

kruegerkyle95 commented 4 months ago

Use Case

It'd be convenient to be able to ascertain the ID the currently running plan or ID of tasks created by the current plan. This could be used to construct the URL to the plan results in the puppet console for example, which could be convenient for more easily reviewing the results of a large complex plan.

Describe the Solution You Would Like

An API that could be called via a function in the plan to collect meta-information about the plan/sub-plans/tasks

donoghuc commented 4 months ago

Are you asking about the pcp transport using plans run with bolt?

kruegerkyle95 commented 4 months ago

Yep that is what i was referring to