Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streaming apply output #3368

Open
jameslikeslinux opened this issue Dec 21, 2024 · 0 comments
Open

Streaming apply output #3368

jameslikeslinux opened this issue Dec 21, 2024 · 0 comments
Labels
Feature New features and improvements.

Comments

@jameslikeslinux
Copy link

Use Case

When running puppet agent -t, we get live feedback about events and changes so we can monitor long-running jobs. bolt apply / bolt apply --stream only shows a Puppet-like report after the run is complete. A plan with an apply block produces no output at all, and with --stream, results in printing the raw ApplyResult object after the run, which is not very user-friendly.

Describe the Solution You Would Like

bolt apply and plan apply blocks should both have the same output behavior. They should output a Puppet-like report after the run, or live if --stream is set.

Describe Alternatives You've Considered

As an alternative, I'm left identifying long-running portions of my Puppet code and trying to separate them into different apply blocks such that I can put some output statements in-between for monitoring progress. This defeats the purpose of Puppet, which should allow for a complete configuration in one catalog application.

Additional Context

Examples of long running jobs for which I want live feedback: big package installations, large Vcsrepo resources on slow hosts, kernel builds.

@jameslikeslinux jameslikeslinux added the Feature New features and improvements. label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New features and improvements.
Projects
None yet
Development

No branches or pull requests

1 participant