For deployment of a complex system I would like to create a script that runs all compilations and set up. I am looking for an existing product that interpret installation scenario and performs all tasks, storing output in a log.
What I need is
- Run command on system, such as make /make install,
- Check if make and the like are exited with code 0 or not
- Run other commands such as modprobe and search their output for certain text, act upon existing/nonexisting text
- Chained tasks: if task A failed, do not try task B.
- Check existing files (such as NTP or sendmail configs) for certain lines and add these if not there (keeping the rest of the file).
- Intuitive logs with oitput of underlying processes.
While that can be achieved by writing a custom perl script, for instance, I would like to know if some ready-made software exists.
Preferably command line, but graphical interface is also ok.