diff --git a/Formula/elasticsearch.rb b/Formula/elasticsearch.rb index da95bc16f1..7852be65da 100644 --- a/Formula/elasticsearch.rb +++ b/Formula/elasticsearch.rb @@ -13,6 +13,9 @@ class Elasticsearch < Formula 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 "elasticsearch_#{ENV["USER"]}" end