Puppet Class: systemd::config

Defined in:
modules/systemd/manifests/config.pp

Overview

Parameters:

  • ensure (Wmflib::Ensure) (defaults to: present)
  • cpu_accounting (Stdlib::Yes_no) (defaults to: 'no')
  • blockio_accounting (Stdlib::Yes_no) (defaults to: 'no')
  • memory_accounting (Stdlib::Yes_no) (defaults to: 'no')
  • ip_accounting (Stdlib::Yes_no) (defaults to: 'no')


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

class systemd::config (
    Wmflib::Ensure $ensure = present,
    Stdlib::Yes_no $cpu_accounting = 'no',
    Stdlib::Yes_no $blockio_accounting = 'no',
    Stdlib::Yes_no $memory_accounting = 'no',
    Stdlib::Yes_no $ip_accounting = 'no',
){
    file { '/etc/systemd/system.conf':
        ensure  => $ensure,
        content => template('systemd/system.conf.erb'),
        mode    => '0444',
        owner   => 'root',
        group   => 'root',
    }
}