diff options
author | Micah Anderson <micah@riseup.net> | 2009-07-07 20:55:01 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2009-07-07 20:55:01 -0400 |
commit | dfebe2a9b537a63c7ff0cf4aeb6cda7a132f77a0 (patch) | |
tree | 23a2b0595c278dd87b2693e66fd388e248ff392f /manifests/init.pp | |
parent | f44776cbbf1f825e0961c6aedecf67f6652859a6 (diff) | |
download | puppet-sshd-dfebe2a9b537a63c7ff0cf4aeb6cda7a132f77a0.tar.gz puppet-sshd-dfebe2a9b537a63c7ff0cf4aeb6cda7a132f77a0.tar.bz2 |
make it possible to override what version of openssh-server and client are installed by providing the variable $sshd_ensure_version, which defaults to the previous value of present when not specified
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index b7ae200..5179e08 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -208,6 +208,12 @@ class sshd::base { case $sshd_tail_additional_options { '': { $sshd_tail_additional_options = '' } } + case $sshd_ensure_version { + '': { $sshd_ensure_version = "present" } + } + + package{openssh: + ensure => $sshd_ensure_version, } file { 'sshd_config': |