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

Commit

Permalink
Merge pull request #17 from boxen/elasticsearch-1.2
Browse files Browse the repository at this point in the history
Upgrade to elasticsearch 1.2.3
  • Loading branch information
dgoodlad committed Aug 20, 2014
2 parents 118cf8a + ec4ba89 commit 36b59d3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions files/brews/elasticsearch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

class Elasticsearch < Formula
homepage 'http://www.elasticsearch.org'
url 'https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.1.1.tar.gz'
sha1 '8495b928984945728635f805f6e2e7183902a3ea'
version '1.1.1-boxen1'
url 'https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.2.3.tar.gz'
sha1 'bbf83a82c00d5829e6ce7d7c2617bcdaac022ab3'
version '1.2.3-boxen1'

head do
url 'https://github.com/elasticsearch/elasticsearch.git'
Expand Down Expand Up @@ -55,4 +55,4 @@ def install
s.gsub! /\$ES_HOME\/lib\//, "$ES_CLASSPATH/"
end
end
end
end
2 changes: 2 additions & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@

version => $version,
package => $package,

notify => Service['elasticsearch']
}

~>
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.1.1-boxen1'
$version = '1.2.3-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.1.1-boxen1")
should contain_package("boxen/brews/elasticsearch").with_ensure("1.2.3-boxen1")
end
end

0 comments on commit 36b59d3

Please sign in to comment.