Puppet Class: splunk::config::remove_uf
- Defined in:
- manifests/config/remove_uf.pp
Overview
Internal class used to remove Universal Forwarders in case a node changes types. i.e, a node is build with the defaults and needs to be switched to a Search Head.
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'manifests/config/remove_uf.pp', line 3
class splunk::config::remove_uf () {
package { 'splunkforwarder':
ensure => absent,
notify => Class['splunk::service'],
} ->
file { '/opt/splunkforwarder':
ensure => absent,
force => true,
recurse => true,
}
}
|