Puppet Class: alertmanager::ack

Defined in:
modules/alertmanager/manifests/ack.pp

Overview

Parameters:

  • listen_host (Optional[Stdlib::Host]) (defaults to: undef)
  • listen_port (Stdlib::Port) (defaults to: 19195)
  • ensure (Wmflib::Ensure) (defaults to: absent)


8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'modules/alertmanager/manifests/ack.pp', line 8

class alertmanager::ack (
    Optional[Stdlib::Host] $listen_host = undef,
    Stdlib::Port $listen_port = 19195,
    Wmflib::Ensure $ensure = absent,
) {
    ensure_packages(['kthxbye'])

    systemd::service { 'kthxbye':
        ensure   => $ensure,
        content  => init_template('kthxbye', 'systemd_override'),
        override => true,
        restart  => true,
    }
}