summaryrefslogtreecommitdiff
path: root/templates/Debian
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2010-12-08 22:29:45 -0500
committerMicah Anderson <micah@riseup.net>2010-12-08 22:29:45 -0500
commitd32573ae838043978026512858d7e09c357d5166 (patch)
treecfe772d3e60ba45e25581c41dee8512bdc2d2102 /templates/Debian
parent8944374bf2f6e286db3996f7c7cb0c9eac3d90f4 (diff)
fix template missing <%- end -%>
Diffstat (limited to 'templates/Debian')
-rw-r--r--templates/Debian/apticron_lenny.erb3
-rw-r--r--templates/Debian/apticron_squeeze.erb3
2 files changed, 6 insertions, 0 deletions
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