-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
only the first element in the bypass-list is being applied
my code
winhttp_proxy { 'proxy':
ensure => present,
proxy_server => $proxyserver,
bypass_list => ['asdds.jkhsa', '*.dsadasdsa.com', 'sadasdas']
}
Ive tested using a string semicolon and comma separated but that errors out
I believe the issue is in the set command as its enumerated all the elements eg
Debug: Prefetching netsh resources for winhttp_proxy
Debug: Executing: 'cmd.exe /c C:\Windows\System32\netsh.exe winhttp dump'
Notice: /Stage[main]/Winconfig::Proxy/Winhttp_proxy[proxy]/bypass_list: bypass_list changed ['asdds.jkhsa'] to 'asdds.jkhsa *.dsadasdsa.com sadasdas'
Debug: Executing: 'cmd.exe /c C:\Windows\System32\netsh.exe winhttp set proxy proxy-server="proxy:3128" bypass-list="asdds.jkhsa"'
Debug: /Stage[main]/Winconfig::Proxy/Winhttp_proxy[proxy]: The container Class[Winconfig::Proxy] will propagate my refresh event
the result of the netsh winhttp dump
netsh.exe winhttp dump
# -----------------------------------------
# WinHTTP Proxy Configuration
# -----------------------------------------
pushd winhttp
set proxy proxy-server="proxy:3128" bypass-list="asdds.jkhsa"
popd
# End of WinHTTP Proxy Configuration
Metadata
Metadata
Assignees
Labels
No labels