system-config/modules/ulimit/manifests/init.pp
Dan Prince c5e4631a6b Update ulimit modules to support Red Hat.
Adds a new params module which is used to provide distribution
specific parameters for other modules. The init module was updated
to make use of the new parameters.

Change-Id: Ib81e919a777741d9d58d687672508b8dd53498ff
Reviewed-on: https://review.openstack.org/18997
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-01-17 18:24:50 +00:00

18 lines
247 B
Puppet

# == Class: ulimit
#
class ulimit {
include ulimit::params
package { $::ulimit::params::pam_packages:
ensure => present,
}
file { '/etc/security/limits.d':
ensure => directory,
owner => 'root',
mode => '0755',
}
}