Puppet Class: splunk::config::mgmt_port
- Defined in:
- manifests/config/mgmt_port.pp
Overview
Private Class to enable/disable the Splunk Managment Port
2 3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'manifests/config/mgmt_port.pp', line 2
class splunk::config::mgmt_port (
$disableDefaultPort = 'True',
$splunkhome = $::splunk::splunkhome
) {
ini_setting { 'Configure Management Port':
ensure => present,
path => "${splunkhome}/etc/system/local/server.conf",
section => 'httpServer',
setting => 'disableDefaultPort',
value => $disableDefaultPort,
require => Class['splunk::install'],
}
}
|