Skip to content

Commit

Permalink
Merge pull request #102 from rundeck-plugins/fix-proxy-property
Browse files Browse the repository at this point in the history
Fix proxy property
  • Loading branch information
jsboak authored Jan 11, 2024
2 parents ec44c14 + e4fe21c commit 36ba8ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion contents/winrm-exec.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ def httpclient_log(*args):

if "RD_CONFIG_WINRMPROXY" in os.environ:
winrmproxy = os.getenv("RD_CONFIG_WINRMPROXY")
log.debug("winrmproxy: " + str(winrmproxy))

if "RD_CONFIG_ENABLEDHTTPDEBUG" in os.environ:
if os.getenv("RD_CONFIG_ENABLEDHTTPDEBUG") == "true":
Expand Down Expand Up @@ -264,7 +265,6 @@ def httpclient_log(*args):
log.debug("operationtimeout:" + str(operationtimeout))
log.debug("exit Behaviour:" + exitBehaviour)
log.debug("cleanescapingflg: " + str(cleanescapingflg))
log.debug("winrmproxy: " + str(winrmproxy))
log.debug("enabledHttpDebug: " + str(enabledHttpDebug))
log.debug("retryConnection: " + str(retryconnection))
log.debug("retryConnectionDelay: " + str(retryconnectiondelay))
Expand Down
2 changes: 2 additions & 0 deletions plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,8 @@ providers:
title: Proxy
description: "Specify a proxy address for communicating with Windows nodes. Example HTTP proxy strings are http://server:port and http://user:pass@server:port. An example SOCKS5 proxy string is socks5://user:pass@server:port."
type: String
required: false
scope: Instance
renderingOptions:
groupName: Connection
instance-scope-node-attribute: "winrm-proxy"
Expand Down

0 comments on commit 36ba8ce

Please sign in to comment.