diff --git a/manifests/conf.pp b/manifests/conf.pp index 96ef42f..5e10422 100644 --- a/manifests/conf.pp +++ b/manifests/conf.pp @@ -1,3 +1,5 @@ +# == Define: ulimit::conf +# define ulimit::conf ( $limit_domain, $limit_item, @@ -10,8 +12,7 @@ define ulimit::conf ( content => template('ulimit/limits.erb'), replace => true, owner => 'root', - mode => 0644, - require => File['/etc/security/limits.d'] + mode => '0644', + require => File['/etc/security/limits.d'], } - } diff --git a/manifests/init.pp b/manifests/init.pp index 54ae9cb..edb5f13 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,13 +1,14 @@ +# == Class: ulimit +# class ulimit { package { ['libpam-modules', 'libpam-modules-bin']: - ensure => present + ensure => present, } file { '/etc/security/limits.d': ensure => directory, owner => 'root', - mode => 0755 + mode => '0755', } - }