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)
- Dynamic Inventory with PuppetDB Fails with Self-Signed Certificate
- Apply does not work on local transport with bundled-ruby=false for latest puppet 7 agents HOT 1
- install module with ssh transport HOT 2
- Sometimes modules take a very long time to install HOT 2
- Add stub/mock for prompt::menu
- Plan not running in order HOT 2
- Packaged Moduls doesn`t get loaded
- Update "Run Bolt from a Docker image" doc page
- Individual language errors should be logged on "Language validation logged N errors. Giving up"
- Windows: Unable to run .ps1 task with pwsh.exe (powershell-core/powershell 7) HOT 2
- Error running multiple tasks on a single target node at one time HOT 3
- Docs not deployed? HOT 1
- Show warning when no host has been matched while install
- Applying Puppet plans fails on Debian 12 Bookworm targets HOT 5
- Allow user to use ssh key agent for ssh transport auth
- Provide MacOS puppet-bolt Homebrew cask installers with the arm64 architecture HOT 2
- Error behavior when bolt can't sudo without askpass in `--run-as root` mode is confusing
- release bolt version with latest facter HOT 1
- [FR] Ability to set `mode`/`group`[/`owner`] in `write_file()` and `upload_file()` functions
- "custom_facts.rb" fails to launch on some targets if Puppet has been installed on the target using the system package manager
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.