diff options
Diffstat (limited to 'manifests/client.pp')
-rw-r--r-- | manifests/client.pp | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/manifests/client.pp b/manifests/client.pp index d473e3c..2fc3a84 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -10,28 +10,7 @@ class sshd::client { } } } -} - -class sshd::client::base { - - # this is needed because the gid might have changed - file { '/etc/ssh/ssh_known_hosts': - mode => 0644, owner => root, group => 0; - } - - # Now collect all server keys - Sshkey <<||>> -} - -class sshd::client::linux inherits sshd::client::base { - if $ssh_ensure_version == '' { $ssh_ensure_version = 'installed' } - package {'openssh-clients': - ensure => $ssh_ensure_version, - } -} - -class sshd::client::debian inherits sshd::client::linux { - Package['openssh-clients']{ - name => 'openssh-client', + if $use_shorewall{ + include shorewall::rules::out::ssh } } |