diff options
author | OpenShift Bot <eparis+openshiftbot@redhat.com> | 2017-07-07 18:24:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-07 18:24:16 -0400 |
commit | 40fd8feff47cccc266699ee0e9f855e3fe2550f1 (patch) | |
tree | 56f1929ea90ce83cc13be92085cead04fce68b7d /roles/openshift_facts/library | |
parent | f0adf39fdf3fb537f799e8e690bf84ba2a6606a7 (diff) | |
parent | e750798e37a7044496bdb3d6a0559a7ff54985d5 (diff) | |
download | openshift-40fd8feff47cccc266699ee0e9f855e3fe2550f1.tar.gz openshift-40fd8feff47cccc266699ee0e9f855e3fe2550f1.tar.bz2 openshift-40fd8feff47cccc266699ee0e9f855e3fe2550f1.tar.xz openshift-40fd8feff47cccc266699ee0e9f855e3fe2550f1.zip |
Merge pull request #4711 from tbielawa/bz1468424
Merged by openshift-bot
Diffstat (limited to 'roles/openshift_facts/library')
-rwxr-xr-x | roles/openshift_facts/library/openshift_facts.py | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py index c960630ed..04b5dc86b 100755 --- a/roles/openshift_facts/library/openshift_facts.py +++ b/roles/openshift_facts/library/openshift_facts.py @@ -1654,14 +1654,15 @@ def set_proxy_facts(facts): # in the _no_proxy value common['no_proxy'] = common['no_proxy'].split(",") - # at this point common['no_proxy'] is a LIST datastructure. It - # may be empty, or it may contain some hostnames or ranges. - - # We always add local dns domain, the service domain, and - # ourselves, no matter what - common['no_proxy'].append('.svc') - common['no_proxy'].append('.' + common['dns_domain']) - common['no_proxy'].append(common['hostname']) + # at this point common['no_proxy'] is a LIST datastructure. It + # may be empty, or it may contain some hostnames or ranges. + + # We always add local dns domain, the service domain, and + # ourselves, no matter what (if you are setting any + # NO_PROXY values) + common['no_proxy'].append('.svc') + common['no_proxy'].append('.' + common['dns_domain']) + common['no_proxy'].append(common['hostname']) # You are also setting system proxy vars, openshift_http_proxy/openshift_https_proxy if 'http_proxy' in common or 'https_proxy' in common: |