aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2008-09-26 17:21:01 -0400
committerMicah Anderson <micah@riseup.net>2008-09-26 17:21:01 -0400
commit19b49e80ee3b468ce1754f7b5dd62995f37b5e86 (patch)
tree1083dbf2418aee8ab06e7e0033c2e27e9946f6f5 /manifests
parent6f5a865b583b1cc2c51484ce03f88be52e2c5b8d (diff)
downloadpuppet-sshd-19b49e80ee3b468ce1754f7b5dd62995f37b5e86.tar.gz
puppet-sshd-19b49e80ee3b468ce1754f7b5dd62995f37b5e86.tar.bz2
add the sshd_rsa_authentication option, default set to no
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 413c46a..a58ee58 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -55,6 +55,10 @@
# sshd_pubkey_authentication: If you want to enable public key authentication
# Valid Values: yes or no
# Default: yes
+#
+# sshd_rsa_authentication: If you wat to enable RSA Authentication
+# Valid Values: yes or no
+# Default: no
class sshd {
include sshd::client
@@ -105,6 +109,10 @@ class sshd::base {
'' => 'no',
default => $sshd_pubkey_authentication
}
+ $real_sshd_rsa_authentication = $sshd_rsa_authentication ? {
+ '' => 'no',
+ default => $sshd_rsa_authentication
+ }
file { 'sshd_config':
path => '/etc/ssh/sshd_config',