Feature request: Interactive manifest mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mojo: Continuous Delivery for Juju |
Fix Released
|
Wishlist
|
Tom Haddon |
Bug Description
This is an idea Tom suggested after I encountered a situation where I would need to mitigate a (hopefully temporary) kernel bug. I could have written a script which applied the mitigation at the right point, but it would be unneeded (and unwanted) as a permanent fix. What I ended up doing was editing the manifest, commenting out everything after the point I needed, applying the mitigation to the affected nodes, reverting the comments and re-running the manifest.
A better option would be a command line flag to run the manifest interactively, pausing for confirmation before each action in the manifest. Something like:
About to run:
deploy config=
[(Y)es] / (N)o / (S)top / (C)ontinue without interaction
Run this action? ([y]/n/s/c)
Related branches
- Paul Collins: Approve (lgtm)
-
Diff: 70 lines (+28/-2)2 files modifiedmojo/cli.py (+3/-1)
mojo/manifest.py (+25/-1)
Changed in mojo: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
Changed in mojo: | |
status: | Confirmed → In Progress |
assignee: | nobody → Tom Haddon (mthaddon) |
This is in version 0.5.1