]> gitweb.fluxo.info Git - puppet-apt.git/commitdiff
fix template missing <%- end -%>
authorMicah Anderson <micah@riseup.net>
Thu, 9 Dec 2010 03:29:45 +0000 (22:29 -0500)
committerMicah Anderson <micah@riseup.net>
Thu, 9 Dec 2010 03:29:45 +0000 (22:29 -0500)
templates/Debian/apticron_lenny.erb
templates/Debian/apticron_squeeze.erb

index 9505633b7a0c573ee43c679eeb5edd2148459851..e484700a3e3197fd1b6582bdb970e2ef10e72a67 100644 (file)
@@ -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
index 274f14d1a99d78581c3b9e2d0b0c4ad36d28aef4..3b8c9fd3c948a8e96523cea887802ce21ec2eedb 100644 (file)
@@ -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