Puppet Class: splunk
- Inherited by:
-
splunk::forwarder
- Defined in:
- manifests/init.pp
Overview
Top level splunk class
This class will be used for all shared aspects of the server and forwarder
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'manifests/init.pp', line 4
class splunk {
$basedir = '/opt/splunk'
service { 'splunk':
ensure => running,
require => Exec['splunk_service']
}
@concat { 'inputs.conf':
path => "${basedir}/etc/system/local/inputs.conf",
notify => Service['splunk']
}
@concat { 'outputs.conf':
path => "${basedir}/etc/system/local/outputs.conf",
notify => Service['splunk']
}
@concat { 'props.conf':
path => "${basedir}/etc/system/local/props.conf",
notify => Service['splunk']
}
}
|