Defined Type: profile::trafficserver::atsmtail

Defined in:
modules/profile/manifests/trafficserver/atsmtail.pp

Overview

Parameters:

  • instance_name (String)
  • atsmtail_progs (Stdlib::Absolutepath)
  • atsmtail_port (Wmflib::UserIpPort)
  • wanted_by (Systemd::Servicename)
  • mtail_args (String) (defaults to: '')


1
2
3
4
5
6
7
8
9
10
11
12
13
# File 'modules/profile/manifests/trafficserver/atsmtail.pp', line 1

define profile::trafficserver::atsmtail(
    String $instance_name,
    Stdlib::Absolutepath $atsmtail_progs,
    Wmflib::UserIpPort $atsmtail_port,
    Systemd::Servicename $wanted_by,
    String $mtail_args = '',
) {
    systemd::service { "atsmtail@${instance_name}":
        ensure  => present,
        restart => true,
        content => systemd_template('atsmtail@'),
    }
}