
Now that we install logstash 2.0, and its package manages service files and user creation, update our beaker tests to reflect these changes. Also, the logstash deb depends on the logrotate package, so make sure that's installed. Depends-On: Id50f98459b677460c28772c406c86482dcd0e9e4 Change-Id: I4c062c82d8d0aae5dd27036021a9464d788244d1
25 lines
576 B
Puppet
25 lines
576 B
Puppet
# This files resources are declared on elasticsearch module
|
|
# and cannot be declared on the logstash::elasticsearch
|
|
# as it cause duplication error on other tests.
|
|
# This is only needed in acceptance tests.
|
|
file { '/etc/elasticsearch':
|
|
ensure => directory,
|
|
owner => 'root',
|
|
}
|
|
|
|
file { '/etc/elasticsearch/templates':
|
|
ensure => directory,
|
|
owner => 'root',
|
|
require => File['/etc/elasticsearch'],
|
|
}
|
|
|
|
class { '::logstash': }
|
|
|
|
class { '::logstash::elasticsearch':
|
|
require => Class['::logstash'],
|
|
}
|
|
|
|
class { '::logstash::indexer':
|
|
require => Class['::logstash'],
|
|
}
|