Adding proxy support for yum repo. Signed CLA
This commit is contained in:
parent
72ba86df93
commit
dea2c5e636
1 changed files with 4 additions and 0 deletions
|
|
@ -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 %}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue