summaryrefslogtreecommitdiff
path: root/manifests/client.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-09-29 19:53:04 +0200
committerMicah Anderson <micah@riseup.net>2009-12-07 16:03:55 -0500
commit5e20e07d1fead39375f656a2b0091e17fe14d95b (patch)
treec7199109e6824f789555ea885f73e29a517e16cf /manifests/client.pp
parent57eae8bc845318eb89c48acef3ca13468689a875 (diff)
factor everything into its own file
Diffstat (limited to 'manifests/client.pp')
-rw-r--r--manifests/client.pp23
1 files changed, 2 insertions, 21 deletions
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
}
}