Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elasticsearch package isn't in the Ubuntu repo #61

Open
waynegemmell opened this issue Jan 22, 2019 · 0 comments
Open

Elasticsearch package isn't in the Ubuntu repo #61

waynegemmell opened this issue Jan 22, 2019 · 0 comments

Comments

@waynegemmell
Copy link

Elasticsearch doesn't exist in Bionic so installation fails when determining version.

- Rendering SLS 'base:elasticsearch.plugins' failed: Jinja variable dict object has no element 0
  /var/tmp/.salt_1a862b_salt/running_data/var/cache/salt/minion/files/base/elasticsearch/settings.sls(20):
  ---
  [...]
    {% if pillar_major_version %}
      {% set major_version = pillar_major_version %}
    {% else %}
      {% set pkg_version = salt['pkg.version'](elasticsearch_map.pkg) %}
      {% if pkg_version %}
        {% set major_version = pkg_version[0] | int %}    <======================
      {% else %}
        {% set major_version = False %}
      {% endif %}
    {% endif %}
  {% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant