From 5e20e07d1fead39375f656a2b0091e17fe14d95b Mon Sep 17 00:00:00 2001 From: mh Date: Tue, 29 Sep 2009 19:53:04 +0200 Subject: factor everything into its own file --- manifests/client.pp | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) (limited to 'manifests/client.pp') diff --git a/manifests/client.pp b/manifests/client.pp index 34308b4..2fc3a84 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -10,26 +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 { - package {'openssh-clients': - ensure => installed, - } -} - -class sshd::client::debian inherits sshd::client::linux { - Package['openssh-clients']{ - name => 'openssh-client', + if $use_shorewall{ + include shorewall::rules::out::ssh } } -- cgit v1.2.3