corrected become_methods class variable in winrm

This should now correctly react when using become with winrm
fixes #13331
pull/13451/head
Brian Coca 9 years ago
parent a5d6be6dd2
commit 958da26d18

@ -62,6 +62,7 @@ class Connection(ConnectionBase):
'''WinRM connections over HTTP/HTTPS.'''
module_implementation_preferences = ('.ps1', '')
become_methods = []
def __init__(self, *args, **kwargs):
@ -72,7 +73,6 @@ class Connection(ConnectionBase):
self._shell_type = 'powershell'
# TODO: Add runas support
self.become_methods_supported=[]
super(Connection, self).__init__(*args, **kwargs)

Loading…
Cancel
Save