Puppet Class: splunk::config::uf

Defined in:
manifests/config/uf.pp

Overview

Private Class configure universal forwarders

Parameters:

  • SPLUNKHOME (Any) (defaults to: $::splunk::SPLUNKHOME)
  • status (Any) (defaults to: 'enabled')


2
3
4
5
6
7
8
9
10
11
12
13
14
# File 'manifests/config/uf.pp', line 2

class splunk::config::uf (
  $SPLUNKHOME = $::splunk::SPLUNKHOME,
  $status  = 'enabled'
  ) {
  ini_setting { 'Disable Management Port':
    ensure  => present,
    path    => "${SPLUNKHOME}/etc/system/local/server.conf",
    section => 'httpServer',
    setting => 'disableDefaultPort',
    value   => 'True',
    require => Class['splunk::install'],
  }
}