aboutsummaryrefslogtreecommitdiff
path: root/templates/sshd_config/Debian_etch.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_etch.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_etch.erb')
-rw-r--r--templates/sshd_config/Debian_etch.erb4
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/sshd_config/Debian_etch.erb b/templates/sshd_config/Debian_etch.erb
index dbef8b8..1047222 100644
--- a/templates/sshd_config/Debian_etch.erb
+++ b/templates/sshd_config/Debian_etch.erb
@@ -170,9 +170,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