Clean up of minor puppet-lint warnings.
Mostly documentation and parameterised class parameter complaints. Change-Id: I5b3ffa4ad3f707f385165c2d86c891c6bd4c1ae0 Reviewed-on: https://review.openstack.org/16901 Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
This commit is contained in:
parent
e20182f0e5
commit
850bc1b685
@ -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'],
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -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',
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user