Puppet Class: checkmk::client

Defined in:
manifests/client.pp

Overview

Class checkmk::client

Install and configure Check_mk (exported ressource)



5
6
7
8
9
10
11
12
13
14
15
16
# File 'manifests/client.pp', line 5

class checkmk::client {

  # the exported exec resource
  # this will trigger a check_mk inventory of the specific node
  # whenever its config changes
  @@exec { "checkmk_inventory_${::fqdn}":
    command     => "/usr/bin/check_mk -uI ${::fqdn}",
    notify      => Exec['checkmk_refresh'],
    refreshonly => true,
    tag         => 'checkmk_inventory',
  }
}