Skip to content

fix minion sudo - #25089

Merged
cachedout merged 5 commits into
saltstack:2015.5from
jfindlay:fix_sudo
Jul 1, 2015
Merged

cachedout merged 5 commits into
saltstack:2015.5from
jfindlay:fix_sudo

Conversation

@jfindlay

Copy link
Copy Markdown
Contributor

Fixes #20226, #21520.

jfindlay added 5 commits June 30, 2015 03:10
- raise an error if sudo.salt_call is called directly, which would be an
  inductively divergent condition

- return the actual error message (along with some debug logging) when
  the command fails rather than an unhelpful json decode error.

- protect positional args and kwargs to salt-call with a `--` symbol.

- quote the args and kwargs sent to salt-call so they work as expected.

- do not load the sudo exec module if the sudo_user config is unset
@jfindlay jfindlay added Core relates to code central or existential to Salt Medium Change labels Jun 30, 2015
cachedout pushed a commit that referenced this pull request Jul 1, 2015
@cachedout
cachedout merged commit 7c8d2a8 into saltstack:2015.5 Jul 1, 2015
@jfindlay
jfindlay deleted the fix_sudo branch July 2, 2015 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Core relates to code central or existential to Salt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants