Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Commit

Permalink
Upgrade to elasticsearch 1.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Mendonça França committed Oct 1, 2014
1 parent 36b59d3 commit f0bbf6f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions files/brews/elasticsearch.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
require 'formula'
require "formula"

class Elasticsearch < Formula
homepage 'http://www.elasticsearch.org'
url 'https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.2.3.tar.gz'
sha1 'bbf83a82c00d5829e6ce7d7c2617bcdaac022ab3'
version '1.2.3-boxen1'
homepage "http://www.elasticsearch.org"
url "https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.3.4.tar.gz"
sha1 "6d63c5d95a6fecf88ce1673fee2aa47720c9e300"
version '1.3.4-boxen1'

head do
url 'https://github.com/elasticsearch/elasticsearch.git'
depends_on 'maven'
url "https://github.com/elasticsearch/elasticsearch.git"
depends_on "maven"
end

def cluster_name
Expand All @@ -27,11 +27,11 @@ def install
rm_f Dir["bin/*.bat"]

# Move libraries to `libexec` directory
libexec.install Dir['lib/*.jar']
(libexec/'sigar').install Dir['lib/sigar/*.{jar,dylib}']
libexec.install Dir["lib/*.jar"]
(libexec/"sigar").install Dir["lib/sigar/*.{jar,dylib}"]

# Install everything else into package directory
prefix.install Dir['*']
prefix.install Dir["*"]

# Remove unnecessary files
rm_f Dir["#{lib}/sigar/*"]
Expand Down
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

$ensure = 'present'

$version = '1.2.3-boxen1'
$version = '1.3.4-boxen1'
$package = 'boxen/brews/elasticsearch'

$cluster = "elasticsearch_boxen_${::boxen_user}"
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/elasticsearch_package_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
it do
should contain_homebrew__formula("elasticsearch")

should contain_package("boxen/brews/elasticsearch").with_ensure("1.2.3-boxen1")
should contain_package("boxen/brews/elasticsearch").with_ensure("1.3.4-boxen1")
end
end

0 comments on commit f0bbf6f

Please sign in to comment.