Puppet Class: profile::base::systemd

Defined in:
modules/profile/manifests/base/systemd.pp

Overview

SPDX-License-Identifier: Apache-2.0

Parameters:

  • systemd_cpu_accounting (Stdlib::Yes_no) (defaults to: lookup('profile::base::systemd::cpu_accounting'))
  • systemd_blockio_accounting (Stdlib::Yes_no) (defaults to: lookup('profile::base::systemd::blockio_accounting'))
  • systemd_memory_accounting (Stdlib::Yes_no) (defaults to: lookup('profile::base::systemd::memory_accounting'))
  • systemd_ip_accounting (Stdlib::Yes_no) (defaults to: lookup('profile::base::systemd::ip_accounting'))


2
3
4
5
6
7
8
9
10
11
12
13
14
# File 'modules/profile/manifests/base/systemd.pp', line 2

class profile::base::systemd(
    Stdlib::Yes_no $systemd_cpu_accounting = lookup('profile::base::systemd::cpu_accounting'),
    Stdlib::Yes_no $systemd_blockio_accounting = lookup('profile::base::systemd::blockio_accounting'),
    Stdlib::Yes_no $systemd_memory_accounting = lookup('profile::base::systemd::memory_accounting'),
    Stdlib::Yes_no $systemd_ip_accounting = lookup('profile::base::systemd::ip_accounting'),
) {
    class { '::systemd::config':
        cpu_accounting     => $systemd_cpu_accounting,
        blockio_accounting => $systemd_blockio_accounting,
        memory_accounting  => $systemd_memory_accounting,
        ip_accounting      => $systemd_ip_accounting,
    }
}