diff options
author | mh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279> | 2008-09-29 22:48:35 +0000 |
---|---|---|
committer | mh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279> | 2008-09-29 22:48:35 +0000 |
commit | f7335624697bfedb6acada341b7e82a2e2966c2a (patch) | |
tree | 2c49cdca1e01579bc9b0b66915068acb7d55a4e3 | |
parent | 1afa887a2e99bc97ebae388d74185ec4e11a38ed (diff) | |
download | puppet-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
-rw-r--r-- | manifests/init.pp | 4 |
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 { |