c025f1a050
A new module that provides a define to add a file to /etc/security/limits.d for each limit line defined. This can be used to limit the number of processes a user can have. Change-Id: I7d1074ec85dbf3e212c0eccbe4e6e926b56f561c
14 lines
205 B
Puppet
14 lines
205 B
Puppet
class ulimit {
|
|
|
|
package { ['libpam-modules', 'libpam-modules-bin']:
|
|
ensure => present
|
|
}
|
|
|
|
file { '/etc/security/limits.d':
|
|
ensure => directory,
|
|
owner => 'root',
|
|
mode => 0755
|
|
}
|
|
|
|
}
|