Comments (4)
"Lack of a response to the Bolt CLI should not be considered a failure, for large systems it is quite possible that the system will output logs and results to other systems altogether"
I'd even argue that at scale a zero-response should be expected. Look at robertdavidgraham/masscan and the performance and reliability they've seen with that tool. An asynchronous operation should be considered vital as tools need to scale. And let's remember we're talking about a tool that by definition doesn't have an agent to talk with which means there will be failures at scale that shouldn't stop progression forward with successful hosts. Doing this right will also greatly improve thread pool management....
from bolt.
One idea I've talked with a few people about is building on https://github.com/puppetlabs/pxp-agent/blob/master/exe/task_wrapper.cc (as a self-contained static binary) to run a task on a remote host and then hit an HTTP endpoint when the task finishes.
Currently it writes output to a file, which could be polled for completion and output.
from bolt.
@MikaelSmith This got me thinking and it might be nice to be able to send along checksums of files that are to be executed so that the runner knows that it is executing the right thing.
Obviously not a requirement, but it might be a nice to have in the future.
from bolt.
Definitely, passing checksums is part of Orchestrator's task running. That happens at an earlier layer in pxp-agent than the code I linked to though.
from bolt.
Related Issues (20)
- unable to use _catch_errors for apply_prep function in puppet plan HOT 3
- Analytics collection is not feasible with some plan functions HOT 1
- Add a way to mock a Puppet/Bolt function while testing a plan with BoltSpec HOT 2
- Puppetdb Client *ALWAYS* uses token header even when cert/key is configured HOT 4
- BoltSpec's `expect_plan()` doesn't match `_catch_error` parameter HOT 3
- Add a way to selectively disable `run_command` & co output to `stdout` on `bolt plan`
- Bolt installed from package on linux fails to install modules from git HOT 3
- File transfer to targets does not cater for line ending differences between Windows and Linux HOT 2
- Local transport defaults are not applied when using apply_prep
- Core types/providers are not synced when using bundled-ruby for apply
- Step in plan silently not running when using list of targets HOT 10
- Expose plan/task ID via Bolt API HOT 2
- Bolt Powershell Improvements HOT 1
- "bolt_builtin_content" error when using PCP transport in Bolt v3.30.0 HOT 1
- Publish Gemfile.lock HOT 2
- Suggest `noexec` may be an issue if the task is not executable for local transport HOT 1
- `download_file()` improvements HOT 3
- run_command: support array of commands
- Reading binary file using file::read in bolt plan, causes apply blocks to fail. HOT 1
- `bolt apply` fails to install puppet on Ubuntu 24.04(noble) due to invalid .deb URL HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bolt.