Manage user and group limits via Puppet
This module manages the limits.
class { 'limits': }
limits::limit { 'username_nofile':
ensure => present,
user => 'username',
limit_type => {
nofile => {
soft => 16384,
hard => 32768,
}
}
}
class { 'limits':
purge_limits_d_dir => true,
}
limits::limit { 'username_nofile':
ensure => present,
user => 'username',
limit_type => {
nofile => {
soft => 16384,
hard => 32768,
}
}
}
class { 'limits': }
limits::limit { 'username_nofile':
ensure => present,
user => 'username',
limit_type => {
nofile => {
soft => 16384,
hard => 32768,
},
nproc => {
soft => 16384,
hard => 32768,
},
core => {
soft => 16384,
hard => 32768,
}
}
}
class { 'limits': }
limits::limit { 'username_nofile':
ensure => present,
user => '@groupname',
limit_type => {
nofile => {
soft => 16384,
hard => 32768,
}
}
}