Puppet Class: statistics::cgroups

Defined in:
modules/statistics/manifests/cgroups.pp

Overview



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'modules/statistics/manifests/cgroups.pp', line 7

class statistics::cgroups (
) {
    Class['::statistics']       -> Class['::statistics::cgroups']
    Class['::statistics::user'] -> Class['::statistics::cgroups']

    systemd::override {'total-user-resources.conf':
        source => 'puppet:///modules/statistics/total-user-resources.conf',
        unit   => 'user.slice'
    }
    systemd::override {'individual-user-resources.conf':
        source => 'puppet:///modules/statistics/individual-user-resources.conf',
        # the '-' (hyphen) on the below is significant; see
        # https://www.freedesktop.org/software/systemd/man/latest/
        # user@.service.html#Controlling%20resources%20for%20logged-in%20users
        # for more details
        unit   => 'user-.slice'
    }
}