Mercurial > repos > other > Puppet
diff modules/ssh/manifests/init.pp @ 246:c3fa3d65aa83
Update configs for Puppet 6
This *should* all be backward compatible
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 21 Dec 2019 14:19:47 -0500 |
parents | cd79745f0236 |
children | d9009f54eb23 |
line wrap: on
line diff
--- a/modules/ssh/manifests/init.pp Sat Dec 21 14:12:10 2019 -0500 +++ b/modules/ssh/manifests/init.pp Sat Dec 21 14:19:47 2019 -0500 @@ -40,7 +40,7 @@ @file { "/etc/ssh/ssh_config": owner => "root", - mode => 644, + mode => '0644', require => Package["openssh-clients"], source => [ # @@ -68,7 +68,7 @@ @file { "/etc/ssh/sshd_config": owner => "root", - mode => 644, + mode => '0644', notify => Service["openssh-server"], require => Package["openssh-server"], source => [ @@ -108,7 +108,7 @@ # Include operatingsystem specific subclass case $::osfamily { - Redhat: { + 'Redhat': { include ssh::centos } default:{fail("Invalid OS type for SSH - $osfamily")}