Merge "Silence successful elasticsearch runs"

This commit is contained in:
Jenkins 2014-04-18 22:50:38 +00:00 committed by Gerrit Code Review
commit 3241ba6e24

View File

@ -20,7 +20,7 @@ class elasticsearch (
$es_template_config = {}
) {
# install java runtime
package { 'java7-runtime-headless':
package { 'openjdk-7-jre-headless':
ensure => present,
}
@ -53,9 +53,11 @@ class elasticsearch (
}
exec { 'check_elasticsearch_sha1':
command => "diff /tmp/elasticsearch-${version}.deb.sha1.txt /tmp/elasticsearch-${version}.deb.sha1.gen",
path => '/bin:/usr/bin',
require => [
command => "diff /tmp/elasticsearch-${version}.deb.sha1.txt /tmp/elasticsearch-${version}.deb.sha1.gen",
path => '/bin:/usr/bin',
subscribe => Exec['get_elasticsearch_deb'],
refreshonly => true,
require => [
Exec['gen_elasticsearch_deb_sha1'],
Exec['get_elasticsearch_deb_sha1'],
]
@ -66,10 +68,9 @@ class elasticsearch (
ensure => latest,
source => "/tmp/elasticsearch-${version}.deb",
provider => 'dpkg',
subscribe => Exec['get_elasticsearch_deb'],
subscribe => Exec['get_elasticsearch_sha1'],
require => [
Package['java7-runtime-headless'],
Exec['check_elasticsearch_sha1'],
File['/etc/elasticsearch/elasticsearch.yml'],
File['/etc/elasticsearch/default-mapping.json'],
File['/etc/default/elasticsearch'],