Commit 88c5595a authored by Walter Heck's avatar Walter Heck

Switch logstash from being managed by package to being managed by yum repo

parent cc84b929
Pipeline #324 passed with stages
in 2 minutes and 23 seconds
......@@ -17,7 +17,6 @@ opstheater::profile::logstash::plugins:
ensure: 'present'
'logstash-filter-date':
ensure: 'present'
opstheater::profile::logstash::package_url: 'https://download.elastic.co/logstash/logstash/packages/centos/logstash-2.1.1-1.noarch.rpm'
opstheater::profile::logstash::input_beats_port: '5044'
opstheater::profile::logstash::input_beats_type: 'logs'
opstheater::profile::logstash::output_codec: 'rubydebug'
......
class opstheater::profile::logstash (
$manage_package_repo = false,
$package_url = hiera('opstheater::profile::logstash::package_url'),
$input_beats_port = hiera('opstheater::profile::logstash::input_beats_port'),
$input_beats_type = hiera('opstheater::profile::logstash::input_beats_type'),
$output_codec = hiera('opstheater::profile::logstash::output_codec'),
$plugins = hiera_hash('opstheater::profile::logstash::plugins', undef),
$manage_package_repo = true,
$input_beats_port = hiera('opstheater::profile::logstash::input_beats_port'),
$input_beats_type = hiera('opstheater::profile::logstash::input_beats_type'),
$output_elasticsearch_hosts = hiera_array('opstheater::profile::logstash::output_elasticsearch_hosts', undef),
$output_codec = hiera('opstheater::profile::logstash::output_codec'),
$plugins = hiera_hash('opstheater::profile::logstash::plugins', undef),
) inherits opstheater::profile::params {
include opstheater::profile::filebeat::logstash
class { 'logstash':
package_url => $package_url,
manage_repo => $manage_package_repo,
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment