Puppet Class: ssh::client
- Inherits:
- ssh::params
- Defined in:
- manifests/client.pp
Overview
1 2 3 4 5 6 7 8 9 10 |
# File 'manifests/client.pp', line 1
class ssh::client inherits ssh::params {
case $::osfamily {
RedHat: { $sshclientpkg = 'openssh-clients' }
Debian: { $sshclientpkg = 'openssh-client' }
default: { fail("Unsupported osfamily ${::osfamily}, currently only supports Debian and RedHat") }
}
package { $sshclientpkg:
ensure => present,
}
}
|