Merge "Silence successful elasticsearch runs"
This commit is contained in:
commit
3241ba6e24
@ -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'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user