Puppet Class: profile::base::systemd

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

Overview

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'))


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

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'),
) {
    debian::codename::require::min('buster')

    class { '::systemd::config':
        cpu_accounting     => $systemd_cpu_accounting,
        blockio_accounting => $systemd_blockio_accounting,
        memory_accounting  => $systemd_memory_accounting,
        ip_accounting      => $systemd_ip_accounting,
    }
}