diff options
Diffstat (limited to 'manifests/init.pp')
-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 { |