From: intrigeri Date: Sat, 16 Oct 2010 20:32:25 +0000 (+0200) Subject: Syntax fix. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=8cb562f87cf5a74ffb62e1fad8e5f6d200f723ab;p=puppet-sshd.git Syntax fix. --- diff --git a/templates/sshd_config/CentOS.erb b/templates/sshd_config/CentOS.erb index da8bb9a..544effe 100644 --- a/templates/sshd_config/CentOS.erb +++ b/templates/sshd_config/CentOS.erb @@ -20,7 +20,7 @@ Protocol 2 <%- if port.to_s == 'off' then -%> #Port -- disabled by puppet <% else -%> -Port <%= port -%> +Port <%= port %> <% end -%> <%- end -%> diff --git a/templates/sshd_config/Debian_etch.erb b/templates/sshd_config/Debian_etch.erb index 391328b..c148d08 100644 --- a/templates/sshd_config/Debian_etch.erb +++ b/templates/sshd_config/Debian_etch.erb @@ -10,7 +10,7 @@ <%- if port.to_s == 'off' then -%> #Port -- disabled by puppet <% else -%> -Port <%= port -%> +Port <%= port %> <% end -%> <%- end -%> diff --git a/templates/sshd_config/Debian_lenny.erb b/templates/sshd_config/Debian_lenny.erb index 13264cc..e0b1917 100644 --- a/templates/sshd_config/Debian_lenny.erb +++ b/templates/sshd_config/Debian_lenny.erb @@ -10,7 +10,7 @@ <%- if port.to_s == 'off' then -%> #Port -- disabled by puppet <% else -%> -Port <%= port -%> +Port <%= port %> <% end -%> <%- end -%> diff --git a/templates/sshd_config/Debian_squeeze.erb b/templates/sshd_config/Debian_squeeze.erb index 439919f..950a53c 100644 --- a/templates/sshd_config/Debian_squeeze.erb +++ b/templates/sshd_config/Debian_squeeze.erb @@ -10,7 +10,7 @@ <%- if port.to_s == 'off' then -%> #Port -- disabled by puppet <% else -%> -Port <%= port -%> +Port <%= port %> <% end -%> <%- end -%> diff --git a/templates/sshd_config/Gentoo.erb b/templates/sshd_config/Gentoo.erb index 9058aea..768d3f5 100644 --- a/templates/sshd_config/Gentoo.erb +++ b/templates/sshd_config/Gentoo.erb @@ -18,7 +18,7 @@ <%- if port.to_s == 'off' then -%> #Port -- disabled by puppet <% else -%> -Port <%= port -%> +Port <%= port %> <% end -%> <%- end -%> diff --git a/templates/sshd_config/OpenBSD.erb b/templates/sshd_config/OpenBSD.erb index 3d57097..51662d3 100644 --- a/templates/sshd_config/OpenBSD.erb +++ b/templates/sshd_config/OpenBSD.erb @@ -16,7 +16,7 @@ <%- if port.to_s == 'off' then -%> #Port -- disabled by puppet <% else -%> -Port <%= port -%> +Port <%= port %> <% end -%> <%- end -%>