Puppet Class: checkmk::params

Defined in:
manifests/params.pp

Overview

Check_mk params



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'manifests/params.pp', line 3

class checkmk::params {

  case $::osfamily {
    'Debian': {
      case $::operatingsystem {
        'Ubuntu': {
          $monitoring_packages = ['nagios-plugins']
        }
        default: {
          $monitoring_packages = ['monitoring-plugins']
        }
      }
    }
    default: {
      fail("Unsupported osfamily: ${::osfamily} operatingsystem: \
${::operatingsystem}, module ${module_name} only support osfamily \
Debian")
    }
  }
}