Comments (6)
Just my opinion here (and I'm not a collaborator/member of this project), but I think this is out of scope for bolt. There are tools out there to do this, and it seems contradictory to the nature of puppet (which bolt is designed to be utilized with).
Puppet is for automation, and bolt is a way to trigger that automation. If you've gotten to the point of needing interactions and prompts, you're no longer talking automation, and that feels like it no longer belongs.
from bolt.
I agree that this seems fairly different from the use-cases Bolt is targeting. I don't see an argument for why adding this to Bolt would be any better than just using hostctl or similar tools.
from bolt.
My intention for this feature request was that the described helps for the following situations:
- if something went wrong with a number of hosts, this simplifies the problem inspection
- i often perform canary tests to find problems with automation code, after a number of hosts i can change to unattended execution
- this helps to manage critical automation tasks (like distribution upgrades) in a half-automated way
I really love bolt, and these feature seems to be the last remaining part to eliminate all the insufficient cluster-execution / cluster-shell tools i used in the last years
from bolt.
Probably it would be a good idea to split this three parts:
- #102 - streaming of stderr/stdout output
- support for canary runs with user interaction with : (c)ontinue to next host, (r)etry command, (s)hell invocation, (q)uit
- support for non paralleled interactive shell sessions with interaction over stdin, stderr, stdout
What do you think?
from bolt.
(1) seems doable. (2) I think continue, retry, quit make sense, shell invocation starts to feel like a substantial investment in a new direction, which (3) continues. I can see how interactive shells using inventory would be valuable, but I don't see my team going in that direction any time soon. Maybe we could get there by invoking a separate tool to handle the interactive session?
from bolt.
This is captured by #102, which is being worked on in #625 - going to close as a duplicate
from bolt.
Related Issues (20)
- Don't install puppet on apply_prep HOT 1
- Puppet Lab is not running
- Dependency Resolution Performs Extremely Slowly HOT 2
- Parallelism Improvements
- Spell checker deprecation warning HOT 1
- Ability to write task in Pwsh 7+ HOT 3
- 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
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.