Skip to content

Commit

Permalink
fix to repo location for ES 6
Browse files Browse the repository at this point in the history
  • Loading branch information
ninapavlich committed Nov 23, 2017
1 parent ff7ebbc commit 17bbb5d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion elasticsearch/repo.sls
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{% from "elasticsearch/settings.sls" import elasticsearch with context %}
{%- if elasticsearch.major_version == 5 or elasticsearch.major_version == 6 %}
{%- if elasticsearch.major_version == 6 %}
{%- set repo_url = 'https://artifacts.elastic.co/packages/6.x' %}
{%- elif elasticsearch.major_version == 5 %}
{%- set repo_url = 'https://artifacts.elastic.co/packages/5.x' %}
{%- else %}
{%- set repo_url = 'http://packages.elastic.co/elasticsearch/2.x' %}
Expand Down

0 comments on commit 17bbb5d

Please sign in to comment.