forked from k9ert/vagrant-kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
/
prerequisites.pp
29 lines (22 loc) · 1.03 KB
/
prerequisites.pp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
class { 'logstash::config':
logstash_home => '/opt/logstash',
logstash_jar_provider => 'http',
logstash_transport => 'redis',
redis_provider => 'package', # Debian 6 ships with redis-server-1.2.6,
# which doesn't support BLPOP, so you'll have
# provide your own redis-server
redis_package => 'redis-server',
redis_version => '',
elasticsearch_provider => 'embedded', # we'll run ES inside out logstash JVM
java_provider => 'package', # install java for me please, from a package
java_package => 'openjdk-6-jdk', # package name on this platform
java_home => '/usr/lib/jvm/java-6-openjdk-i386/jre'
}
# indexer/storage node
class { 'logstash::indexer': }
# use this class to provide transport that matches what we want, optional
class { 'logstash::redis': }
# straight log shipper only
class { 'logstash::shipper': }
# web interface
class { 'logstash::web': }