Puppet Class: monit::service

Defined in:
manifests/service.pp

Overview

monit::config This class handles the monit service.



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

class monit::service {
  if $caller_module_name != $module_name {
    warning("${name} is not part of the public API of the ${module_name} module and should not be directly included in the manifest.")
  }

  service { $monit::service:
    ensure => $monit::service_ensure,
    enable => $monit::service_enable,
  }
}