Puppet module to manage cgroups.
This module supports Puppet v3 with Ruby versions 1.8.7, 1.9.3, and 2.0.0.
- EL 6
- SLED 11 SP2
Path to cgroups config file.
- Default: '/etc/cgconfig.conf'
name of service.
- Default: 'cgconfig'
name of package that enables cgroups.
- RedHat: 'libcgroup'
- Suse: 'libcgroup1'
where cgroups is mounted
- RedHat: '/cgroup'
- Suse: '/sys/fs/cgroup'
The content of the cgroup file, this is a required option.
- Default: undef
A path to set 0777 permissions on. This is a fix for Suse that have a bug in setting this though the config file.
- Default: ''
cgroups::user_path_fix: '/sys/fs/cgroup/user/mgw-all' cgroups::cgconfig_content: | group user/mgw-all { perm { task { uid = root; gid = mgw-all; } admin { uid = root; gid = mgw-all; } } cpu { } }