pepper
pepper copied to clipboard
--timeout parameter should be an actual limit
$ pepper --timeout=1 '*' cmd.run 'sleep infinity'
This never returns, while the behaviour I would expect is that it would return after 1 second and report incomplete state.
From the help:
Pepper ``salt`` Options:
Mimic the ``salt`` CLI
-t TIMEOUT, --timeout=TIMEOUT
Specify wait time (in seconds) before returning
control to the shell
My actual issue is with running a script on a lot of minions where some of them can actually disconnect before completion. I would like to be able to recover and continue, but my pepper call is getting stuck forever.