aboutsummaryrefslogtreecommitdiff
path: root/templates/sshd_config/Debian_lenny.erb
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-07-21 11:01:33 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-07-21 11:01:33 -0300
commit0e9e1b6f2c5dca80c946f7944d47f1d28ba76920 (patch)
treeb64edafd614991b54f5f8be4598702182220b991 /templates/sshd_config/Debian_lenny.erb
parent89aeace9b6367f144165334bbfbbdf7bd1da8359 (diff)
downloadpuppet-sshd-0e9e1b6f2c5dca80c946f7944d47f1d28ba76920.tar.gz
puppet-sshd-0e9e1b6f2c5dca80c946f7944d47f1d28ba76920.tar.bz2
Adding PrintMotd parameter to all templates and setting per-distro default value
Diffstat (limited to 'templates/sshd_config/Debian_lenny.erb')
-rw-r--r--templates/sshd_config/Debian_lenny.erb4
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/sshd_config/Debian_lenny.erb b/templates/sshd_config/Debian_lenny.erb
index c168114..4ffb94c 100644
--- a/templates/sshd_config/Debian_lenny.erb
+++ b/templates/sshd_config/Debian_lenny.erb
@@ -179,9 +179,7 @@ AllowUsers <%= sshd_allowed_users -%>
AllowGroups <%= sshd_allowed_groups %>
<%- end %>
-<%- if sshd_print_motd.to_s == 'no' then -%>
-PrintMotd no
-<%- end -%>
+PrintMotd <%= sshd_print_motd %>
<%- if sshd_hardened_ssl.to_s == 'yes' then -%>
Ciphers aes256-ctr