mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Merge pull request #4661 from jason-riddle/patch-1
Add ENV['no_proxy'] to chef provisioner if no_proxy is detected
This commit is contained in:
commit
52d1e214fb
@ -328,4 +328,6 @@ ENV['https_proxy'] = "https://proxy.local"
|
||||
ENV['HTTPS_PROXY'] = "https://proxy.local"
|
||||
|
||||
|
||||
no_proxy "http://local.local,https://local.local"`
|
||||
|
||||
no_proxy "http://local.local,https://local.local"
|
||||
ENV['no_proxy'] = "http://local.local,https://local.local"`
|
||||
|
@ -60,7 +60,11 @@ ENV['https_proxy'] = "{{ .HTTPSProxy }}"
|
||||
ENV['HTTPS_PROXY'] = "{{ .HTTPSProxy }}"
|
||||
{{ end }}
|
||||
|
||||
{{ if .NOProxy }}no_proxy "{{ join .NOProxy "," }}"{{ end }}
|
||||
{{ if .NOProxy }}
|
||||
no_proxy "{{ join .NOProxy "," }}"
|
||||
ENV['no_proxy'] = "{{ join .NOProxy "," }}"
|
||||
{{ end }}
|
||||
|
||||
{{ if .SSLVerifyMode }}ssl_verify_mode {{ .SSLVerifyMode }}{{ end }}
|
||||
|
||||
{{ if .DisableReporting }}enable_reporting false{{ end }}
|
||||
|
@ -355,4 +355,6 @@ ENV['https_proxy'] = "https://proxy.local"
|
||||
ENV['HTTPS_PROXY'] = "https://proxy.local"
|
||||
|
||||
|
||||
no_proxy "http://local.local,https://local.local"`
|
||||
|
||||
no_proxy "http://local.local,https://local.local"
|
||||
ENV['no_proxy'] = "http://local.local,https://local.local"`
|
||||
|
Loading…
Reference in New Issue
Block a user