summaryrefslogtreecommitdiff
path: root/manifests/nrpe.pp
blob: c9ecf7595b3100c6844dcf39f7e2c363b66a1fbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class nagios::nrpe {

    case $operatingsystem {
        'FreeBSD': {
            if $nagios_nrpe_cfgdir == '' { $nagios_nrpe_cfgdir = '/usr/local/etc' }

            include nagios::nrpe::freebsd
        }
        default: {
            case $kernel {
                linux: { include nagios::nrpe::linux }
                default: { include nagios::nrpe::base }
            }
        }
    }

}