elasticsearch: add version conflicts.
This commit is contained in:
parent
9369ee2357
commit
82570a560d
1 changed files with 3 additions and 0 deletions
|
@ -13,6 +13,9 @@ class Elasticsearch < Formula
|
||||||
|
|
||||||
depends_on :java => "1.8+"
|
depends_on :java => "1.8+"
|
||||||
|
|
||||||
|
conflicts_with "elasticsearch@1.7", :because => "Different versions of same formula"
|
||||||
|
conflicts_with "elasticsearch@2.4", :because => "Different versions of same formula"
|
||||||
|
|
||||||
def cluster_name
|
def cluster_name
|
||||||
"elasticsearch_#{ENV["USER"]}"
|
"elasticsearch_#{ENV["USER"]}"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue