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 (
|
define ulimit::conf (
|
||||||
$limit_domain,
|
$limit_domain,
|
||||||
$limit_item,
|
$limit_item,
|
||||||
@ -10,8 +12,7 @@ define ulimit::conf (
|
|||||||
content => template('ulimit/limits.erb'),
|
content => template('ulimit/limits.erb'),
|
||||||
replace => true,
|
replace => true,
|
||||||
owner => 'root',
|
owner => 'root',
|
||||||
mode => 0644,
|
mode => '0644',
|
||||||
require => File['/etc/security/limits.d']
|
require => File['/etc/security/limits.d'],
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,13 +1,14 @@
|
|||||||
|
# == Class: ulimit
|
||||||
|
#
|
||||||
class ulimit {
|
class ulimit {
|
||||||
|
|
||||||
package { ['libpam-modules', 'libpam-modules-bin']:
|
package { ['libpam-modules', 'libpam-modules-bin']:
|
||||||
ensure => present
|
ensure => present,
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/etc/security/limits.d':
|
file { '/etc/security/limits.d':
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
owner => 'root',
|
owner => 'root',
|
||||||
mode => 0755
|
mode => '0755',
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user