Install the curator package

This changes installs the curator package (and its dependencies) on the
Elasticsearch-Kibana node. A following commit will setup the cron job
that will clean up expired data in the Elasticsearch database.

Change-Id: I413957c0b39fc687cb18fc5bed08d270d6ccc3dd
This commit is contained in:
Simon Pasquier 2015-08-07 15:08:58 +02:00
parent 75cb0a8e71
commit 2febb0b0f3
2 changed files with 14 additions and 0 deletions

View File

@ -55,4 +55,8 @@ if $elasticsearch_kibana['node_name'] == hiera('user_node_name') {
lma_logging_analytics::es_template { ['log', 'notification']:
require => Elasticsearch::Instance[$es_instance],
}
package { 'python-elasticsearch-curator':
ensure => installed,
}
}

View File

@ -30,6 +30,16 @@ download_package http://mirror.centos.org/centos/6/updates/x86_64/Packages/java-
http://mirror.centos.org/centos/6/os/x86_64/Packages/tzdata-java-2015e-1.el6.noarch.rpm \
https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.4.5.noarch.rpm
# Download curator and dependencies
download_package http://packages.elasticsearch.org/curator/3/debian/pool/main/p/python/python-elasticsearch-curator_3.2.3_all.deb \
http://packages.elasticsearch.org/curator/3/debian/pool/main/p/python/python-elasticsearch_1.6.0_all.deb \
http://packages.elasticsearch.org/curator/3/debian/pool/main/p/python/python-click_4.0_all.deb \
http://packages.elasticsearch.org/curator/3/debian/pool/main/p/python/python-urllib3_1.10.4_all.deb
download_package http://packages.elasticsearch.org/curator/3/centos/6/Packages/python-elasticsearch-curator-3.2.3-1.noarch.rpm \
http://packages.elasticsearch.org/curator/3/centos/6/Packages/python-elasticsearch-1.6.0-1.noarch.rpm \
http://packages.elasticsearch.org/curator/3/centos/6/Packages/python-click-4.0-1.noarch.rpm
# Install puppet manifests
download_puppet_module "concat" "$CONCAT_TARBALL_URL"
download_puppet_module "stdlib" "$STDLIB_TARBALL_URL"