aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-09-29 22:48:35 +0000
committermh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-09-29 22:48:35 +0000
commitf7335624697bfedb6acada341b7e82a2e2966c2a (patch)
tree2c49cdca1e01579bc9b0b66915068acb7d55a4e3 /manifests
parent1afa887a2e99bc97ebae388d74185ec4e11a38ed (diff)
downloadpuppet-sshd-f7335624697bfedb6acada341b7e82a2e2966c2a.tar.gz
puppet-sshd-f7335624697bfedb6acada341b7e82a2e2966c2a.tar.bz2
moved package depency to the linux class, openbsd doesn't have this package
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@2266 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 2a4c449..4e10ac9 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -210,7 +210,6 @@ class sshd::base {
type => ssh-rsa,
key => $sshrsakey_key,
ensure => present,
- require => Package["openssh-clients"],
}
}
}
@@ -230,6 +229,9 @@ class sshd::linux inherits sshd::base {
File[sshd_config]{
require +> Package[openssh],
}
+ Sshkey["$hostname.$domain"]{
+ require => Package["openssh-clients"],
+ }
}
class sshd::gentoo inherits sshd::linux {