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:
Matthew Wagoner 2012-11-26 11:13:11 -05:00 committed by Jenkins
parent e20182f0e5
commit 850bc1b685
2 changed files with 8 additions and 6 deletions

View File

@ -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'],
}
}

View File

@ -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',
}
}