Puppet Class: check_mk::params

Inherited by:
check_mk
Defined in:
manifests/params.pp

Summary

Sets the defaults for the init class.

Overview

Class: check_mk::params



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'manifests/params.pp', line 6

class check_mk::params {
  # common variables
  $checkmk_service = 'omd'
  $package = 'check-mk-raw-1.5.0p7-el7-38.x86_64.rpm'
  $filestore = undef
  $host_groups= undef
  $site = 'monitoring'
  $workspace = '/root/check_mk'

  # OS specific variables
  case $facts['os']['family'] {
    'RedHat': {
      $httpd_service = 'httpd'
    }
    'Debian': {
      $httpd_service = 'apache2'
    }
    default: {
      fail("OS family ${facts['os']['family']} is not supported!")
    }
  }
}