elasticsearch: add version conflicts.

This commit is contained in:
Mike McQuaid 2016-11-23 11:16:38 +00:00
parent 9369ee2357
commit 82570a560d

View file

@ -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