diff options
author | jawed <jawed.khelil@amadeus.com> | 2016-11-08 09:11:59 +0100 |
---|---|---|
committer | jawed <jawed.khelil@amadeus.com> | 2016-11-08 09:11:59 +0100 |
commit | 9e737af5bd7a8465bab2b4fd471933cb3f63cd3a (patch) | |
tree | f1f79601802e83e874cfaa6a1a14d7e07d60a7bd /roles/openshift_facts | |
parent | f5f7937a89deceae5795987d2eeae26810499b99 (diff) | |
download | openshift-9e737af5bd7a8465bab2b4fd471933cb3f63cd3a.tar.gz openshift-9e737af5bd7a8465bab2b4fd471933cb3f63cd3a.tar.bz2 openshift-9e737af5bd7a8465bab2b4fd471933cb3f63cd3a.tar.xz openshift-9e737af5bd7a8465bab2b4fd471933cb3f63cd3a.zip |
Always add local dns domain to no_proxy
Diffstat (limited to 'roles/openshift_facts')
-rwxr-xr-x | roles/openshift_facts/library/openshift_facts.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_facts/library/openshift_facts.py b/roles/openshift_facts/library/openshift_facts.py index 769d11a42..ac0195b1d 100755 --- a/roles/openshift_facts/library/openshift_facts.py +++ b/roles/openshift_facts/library/openshift_facts.py @@ -1527,8 +1527,8 @@ def set_proxy_facts(facts): safe_get_bool(common['generate_no_proxy_hosts']): if 'no_proxy_internal_hostnames' in common: common['no_proxy'].extend(common['no_proxy_internal_hostnames'].split(',')) - common['no_proxy'].append('.' + common['dns_domain']) - # We always add ourselves no matter what + # We always add local dns domain and ourselves no matter what + common['no_proxy'].append('.' + common['dns_domain']) common['no_proxy'].append(common['hostname']) common['no_proxy'] = sort_unique(common['no_proxy']) facts['common'] = common |