Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Elasticsearch Repository For 2.x versions changed #56

Open
peterbucher opened this issue Sep 13, 2018 · 0 comments
Open

Elasticsearch Repository For 2.x versions changed #56

peterbucher opened this issue Sep 13, 2018 · 0 comments

Comments

@peterbucher
Copy link

The repositories for the elasticsearch 2.x versions changes, thus the code which asks for a specific Major.Minor.X version and delegates to a specific repo version vor 2.x needs to be changed. Else, elasticsearch is not found and vagrant does not boot up.

I used the latest vagrant, virtualbox, puphpet.

See:

Original code:

  if $version {
    if versioncmp($version, '6') >= 0 {
      $repo_version = '6.x'
    }
    elsif versioncmp($version, '5') >= 0 {
      $repo_version = '5.x'
    }
    elsif versioncmp($version, '2.4') >= 0 {
      $repo_version = '2.4'
    }
    elsif versioncmp($version, '2.3') >= 0 {
      $repo_version = '2.3'
    }
    elsif versioncmp($version, '2.2') >= 0 {
      $repo_version = '2.2'
    }
    elsif versioncmp($version, '2.1') >= 0 {
      $repo_version = '2.1'
    }
    elsif versioncmp($version, '2.0') >= 0 {
      $repo_version = '2.0'
    }
  }

Needed changes:
On every "$repo_version = 2....., it should be changed to 2.x to work again.

Working example for 2.4:


    elsif versioncmp($version, '2.4') >= 0 {
      $repo_version = '2.x'
    }

Also to mention: If a repo_version is given by the config.yaml, it will be overridden by this very code. I do think it should work exactly the oposity, that config.yaml overrides this hard coded assignments?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant