Adding proxy support for yum repo. Signed CLA

This commit is contained in:
Oliver Moser 2017-01-20 13:59:16 +01:00
parent 72ba86df93
commit dea2c5e636

View file

@ -4,3 +4,7 @@ baseurl=https://artifacts.elastic.co/packages/{{ es_major_version }}/yum
gpgcheck=1 gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1 enabled=1
{% if es_proxy_host is defined and es_proxy_port is defined %}
proxy=http://{{ es_proxy_host }}:{{es_proxy_port}}
{% endif %}