Audit shell script
It might be nice to have a audit output shell script.
We have the ability to run in dry-run mode with audit level logging. This should log all shell actions taken (and not actually do them) and all packages installed and such, it would be interesting to take this audit level logging and convert it to a shell script since the commands should be pretty simple (minus any logic that the python code may be doing, that is the harder part). Sort of like a audit log to shell script maker, if that can be done...
Or instead of using just the audit logging, the trace append only files themselves also contain some of this information.
Maybe a mix of both?
Interesting side-effects of this:
1. A generated shell script is created with *just* the actions needed to get a desired component set working and no more (devstack.sh and py are a conglomerate utility)
2. Makes it easier for the devstack.sh people to transition over to devstackpy (especially the people saying that a shell script is much easier to read....)
Note-able disadvantages:
1. There is no added benefit if u already know how to use the python version of devstack (its really just more of a convenience to people that like bash or devstack.sh people).
2. Complicates the auditing code (unless this is a separate tool entirely)
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Low
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Drafting
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by