Puppet Class: profile::base::systemd

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

Overview

Parameters:

  • systemd_cpu_accounting (Enum['yes', 'no']) (defaults to: lookup('profile::base::systemd::cpu_accounting'))
  • systemd_blockio_accounting (Enum['yes', 'no']) (defaults to: lookup('profile::base::systemd::blockio_accounting'))
  • systemd_memory_accounting (Enum['yes', 'no']) (defaults to: lookup('profile::base::systemd::memory_accounting'))
  • systemd_ip_accounting (Enum['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(
    Enum['yes', 'no'] $systemd_cpu_accounting = lookup('profile::base::systemd::cpu_accounting'),
    Enum['yes', 'no'] $systemd_blockio_accounting = lookup('profile::base::systemd::blockio_accounting'),
    Enum['yes', 'no'] $systemd_memory_accounting = lookup('profile::base::systemd::memory_accounting'),
    Enum['yes', 'no'] $systemd_ip_accounting = lookup('profile::base::systemd::ip_accounting'),
) {
    requires_os('debian >= buster')

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