Template out the base of repo URLs
Some popular artifact caches (e.g. Artifactory) do not provide HTTP CONNECT endpoints and thus aren't supported by es_proxy_host and es_proxy_port. This patch templates out the scheme and authority components (i.e. "https://artifacts.elastic.co" ) of the apt and yum repo URLs to accommodate the use of such artifact caches.
This commit is contained in:
parent
9823a3fc54
commit
2aa0b38449
3 changed files with 7 additions and 6 deletions
|
|
@ -1,8 +1,8 @@
|
|||
[elasticsearch-{{ es_repo_name }}]
|
||||
name=Elasticsearch repository for {{ es_repo_name }} packages
|
||||
baseurl=https://artifacts.elastic.co/packages/{{ es_repo_name }}/yum
|
||||
baseurl={{ es_repo_base }}/packages/{{ es_repo_name }}/yum
|
||||
gpgcheck=1
|
||||
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
|
||||
gpgkey={{ es_repo_base }}/GPG-KEY-elasticsearch
|
||||
enabled=1
|
||||
autorefresh=1
|
||||
type=rpm-md
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue