Puppet Class: profile::base::memory_cgroup

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

Summary

This class enables memory cgroups on debian, where they're disabled by default.

Overview

SPDX-License-Identifier: Apache-2.0



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

class profile::base::memory_cgroup {
    # Enable memory cgroup
    grub::bootparam { 'cgroup_enable':
        value => 'memory',
    }

    grub::bootparam { 'swapaccount':
        value => '1',
    }
}