Puppet Class: profile::icinga::logmsgbot

Defined in:
modules/profile/manifests/icinga/logmsgbot.pp

Overview

Parameters:

  • active_host (String) (defaults to: lookup('profile::icinga::active_host'))
  • partners (Array[String]) (defaults to: lookup('profile::icinga::partners'))


1
2
3
4
5
6
7
8
9
10
11
# File 'modules/profile/manifests/icinga/logmsgbot.pp', line 1

class profile::icinga::logmsgbot(
    String        $active_host = lookup('profile::icinga::active_host'),
    Array[String] $partners    = lookup('profile::icinga::partners'),
) {
    class{ '::profile::tcpircbot':
        ensure => $active_host == $::fqdn ? {
            false => absent,
            true  => present,
        }
    }
}