From 82570a560d3529ac75b0647476b7588242322a13 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 23 Nov 2016 11:16:38 +0000 Subject: [PATCH] elasticsearch: add version conflicts. --- Formula/elasticsearch.rb | 3 +++ 1 file changed, 3 insertions(+) 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