From d32573ae838043978026512858d7e09c357d5166 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Wed, 8 Dec 2010 22:29:45 -0500 Subject: fix template missing <%- end -%> --- templates/Debian/apticron_lenny.erb | 3 +++ templates/Debian/apticron_squeeze.erb | 3 +++ 2 files changed, 6 insertions(+) (limited to 'templates') diff --git a/templates/Debian/apticron_lenny.erb b/templates/Debian/apticron_lenny.erb index 9505633..e484700 100644 --- a/templates/Debian/apticron_lenny.erb +++ b/templates/Debian/apticron_lenny.erb @@ -26,6 +26,7 @@ LISTCHANGES_PROFILE="<%= apticron_listchanges_profile %>" # SYSTEM="foobar.example.com" <%- if has_variable?(apticron_system) and instance_variable_get("@#{apticron_system}").to_s != "false" -%> <%= 'SYSTEM="' + instance_variable_get("@#{apticron_system}").to_s + '"' %> +<%- end -%> # # Set IPADDRESSNUM if you would like to configure the maximal number of IP @@ -35,6 +36,7 @@ LISTCHANGES_PROFILE="<%= apticron_listchanges_profile %>" # IPADDRESSNUM="1" <%- if has_variable?(apticron_ipaddressnum) and instance_variable_get("@#{apticron_ipaddressnum}").to_s != "false" -%> <%= 'IPADDRESSNUM="' + instance_variable_get("@#{apticron_ipaddressnum}").to_s + '"' %> +<%- end -%> # # Set IPADDRESSES to a whitespace seperated list of reachable addresses for @@ -44,3 +46,4 @@ LISTCHANGES_PROFILE="<%= apticron_listchanges_profile %>" # IPADDRESSES="192.0.2.1 2001:db8:1:2:3::1" <%- if has_variable?(apticron_ipaddresses) and instance_variable_get("@#{apticron_ipaddresses}").to_s != "false" -%> <%= 'IPADDRESSES="' + instance_variable_get("@#{apticron_ipaddresses}").to_s + '"' %> +<%- end -%> \ No newline at end of file diff --git a/templates/Debian/apticron_squeeze.erb b/templates/Debian/apticron_squeeze.erb index 274f14d..3b8c9fd 100644 --- a/templates/Debian/apticron_squeeze.erb +++ b/templates/Debian/apticron_squeeze.erb @@ -27,6 +27,7 @@ LISTCHANGES_PROFILE="<%= apticron_listchanges_profile %>" # SYSTEM="foobar.example.com" <%- if has_variable?(apticron_system) and instance_variable_get("@#{apticron_system}").to_s != "false" -%> <%= 'SYSTEM="' + instance_variable_get("@#{apticron_system}").to_s + '"' %> +<%- end %> # # Set IPADDRESSNUM if you would like to configure the maximal number of IP @@ -36,6 +37,7 @@ LISTCHANGES_PROFILE="<%= apticron_listchanges_profile %>" # IPADDRESSNUM="1" <%- if has_variable?(apticron_ipaddressnum) and instance_variable_get("@#{apticron_ipaddressnum}").to_s != "false" -%> <%= 'IPADDRESSNUM="' + instance_variable_get("@#{apticron_ipaddressnum}").to_s + '"' %> +<%- end -%> # # Set IPADDRESSES to a whitespace separated list of reachable addresses for @@ -45,6 +47,7 @@ LISTCHANGES_PROFILE="<%= apticron_listchanges_profile %>" # IPADDRESSES="192.0.2.1 2001:db8:1:2:3::1" <%- if has_variable?(apticron_ipaddresses) and instance_variable_get("@#{apticron_ipaddresses}").to_s != "false" -%> <%= 'IPADDRESSES="' + instance_variable_get("@#{apticron_ipaddresses}").to_s + '"' %> +<%- end -%> # # Set NOTIFY_HOLDS="0" if you don't want to be notified about new versions of -- cgit v1.2.3