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)


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

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,
    }
}