diff options
Diffstat (limited to 'manifests/client.pp')
| -rw-r--r-- | manifests/client.pp | 14 | 
1 files changed, 5 insertions, 9 deletions
| diff --git a/manifests/client.pp b/manifests/client.pp index 47340b8..d473e3c 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -14,14 +14,6 @@ class sshd::client {  class sshd::client::base { -  case $sshd_ensure_version { -    '': { $sshd_ensure_version = "present" } -  } -   -  package{openssh-clients: -    ensure => $sshd_ensure_version, -  } -    # this is needed because the gid might have changed    file { '/etc/ssh/ssh_known_hosts':      mode => 0644, owner => root, group => 0; @@ -32,9 +24,13 @@ class sshd::client::base {  }  class sshd::client::linux inherits sshd::client::base { +     if $ssh_ensure_version == '' { $ssh_ensure_version = 'installed' } +     package {'openssh-clients': +         ensure => $ssh_ensure_version, +     }  } -class sshd::client::debian inherits sshd::client::linux { +class sshd::client::debian inherits sshd::client::linux {        Package['openssh-clients']{          name => 'openssh-client',      } | 
