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

Fix dunder virtual to check for Remote Administration Tools #31292

Merged
merged 5 commits into from Feb 18, 2016
Merged

Fix dunder virtual to check for Remote Administration Tools #31292

merged 5 commits into from Feb 18, 2016

Conversation

twangboy
Copy link
Contributor

Fixed Install and Uninstall functions
Fix overly long lines (>80 chars)
Improved documentation

#30350

@cachedout
Copy link
Contributor

This should be fine, but for future reference please separate formatting PRs from bug fixes. It's very time-consuming to review formatting changes for regressions. ;] Thanks.

python_shell=True)
return not __salt__['cmd.retcode']('Import-Module ServerManager',
shell='powershell',
python_shell=True)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is python_shell set to True here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cachedout The powershell command requires python_shell=True. The functions have been using cmd_quote on passed parameters for this reason.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

K. I wasn't aware of that. Thanks for letting me know.

@cachedout cachedout added the Pending-Discussion The issue or pull request needs more discussion before it can be closed or merged label Feb 18, 2016
cachedout pushed a commit that referenced this pull request Feb 18, 2016
Fix dunder virtual to check for Remote Administration Tools
@cachedout cachedout merged commit 130f515 into saltstack:2015.8 Feb 18, 2016
@twangboy twangboy deleted the win_servermanager branch February 18, 2016 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pending-Discussion The issue or pull request needs more discussion before it can be closed or merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants