aboutsummaryrefslogtreecommitdiff
path: root/templates/sshd_config/OpenBSD.erb
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-10-16 16:01:24 +0200
committerintrigeri <intrigeri@boum.org>2010-10-16 16:01:24 +0200
commit23efb583bf565f12361e929f1a2d1fca61f4d3bb (patch)
tree17a1b6983a2ef2c05082c9e0537c1d167c745e03 /templates/sshd_config/OpenBSD.erb
parent060703f6a2c40e3fc6d16c1df16be6c307c60340 (diff)
downloadpuppet-sshd-23efb583bf565f12361e929f1a2d1fca61f4d3bb.tar.gz
puppet-sshd-23efb583bf565f12361e929f1a2d1fca61f4d3bb.tar.bz2
Cleanup templates: sshd_port is guaranteed by init.pp not to be empty.
Diffstat (limited to 'templates/sshd_config/OpenBSD.erb')
-rw-r--r--templates/sshd_config/OpenBSD.erb4
1 files changed, 0 insertions, 4 deletions
diff --git a/templates/sshd_config/OpenBSD.erb b/templates/sshd_config/OpenBSD.erb
index 69e8afa..c0517f4 100644
--- a/templates/sshd_config/OpenBSD.erb
+++ b/templates/sshd_config/OpenBSD.erb
@@ -12,15 +12,11 @@
<%= sshd_head_additional_options %>
<%- end %>
-<%- unless sshd_port.to_s.empty? then -%>
<%- if sshd_port.to_s == 'off' then -%>
#Port -- disabled by puppet
<% else -%>
Port <%= sshd_port -%>
<% end -%>
-<%- else -%>
-Port 22
-<%- end -%>
# Use these options to restrict which interfaces/protocols sshd will bind to
<% for address in sshd_listen_address -%>