Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--timeout parameter should be an actual limit #198

Open
eplodn opened this issue Aug 1, 2019 · 0 comments
Open

--timeout parameter should be an actual limit #198

eplodn opened this issue Aug 1, 2019 · 0 comments

Comments

@eplodn
Copy link

eplodn commented Aug 1, 2019

$ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant