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
cb328cabe5
commit
6039997216
|
@ -1,3 +1,5 @@
|
|||
# == Class: ssh
|
||||
#
|
||||
class ssh {
|
||||
package { 'openssh-server':
|
||||
ensure => present,
|
||||
|
@ -8,12 +10,14 @@ class ssh {
|
|||
subscribe => File['/etc/ssh/sshd_config'],
|
||||
}
|
||||
file { '/etc/ssh/sshd_config':
|
||||
ensure => present,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0444',
|
||||
source => [ "puppet:///modules/ssh/sshd_config.${::operatingsystem}",
|
||||
'puppet:///modules/ssh/sshd_config' ],
|
||||
ensure => present,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0444',
|
||||
source => [
|
||||
"puppet:///modules/ssh/sshd_config.${::operatingsystem}",
|
||||
'puppet:///modules/ssh/sshd_config',
|
||||
],
|
||||
replace => true,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue