Index: src/puppetcode/environments/test/modules/apt/templates/15update-stamp.erb
===================================================================
--- src/puppetcode/environments/test/modules/apt/templates/15update-stamp.erb	(revision 1c22429c336ddd7087e5a50b7a6a3e4add4e004b)
+++ src/puppetcode/environments/test/modules/apt/templates/15update-stamp.erb	(revision 1c22429c336ddd7087e5a50b7a6a3e4add4e004b)
@@ -0,0 +1,1 @@
+APT::Update::Post-Invoke-Success {"touch /var/lib/apt/periodic/update-success-stamp 2>/dev/null || true";};
Index: src/puppetcode/environments/test/modules/apt/templates/_conf_header.erb
===================================================================
--- src/puppetcode/environments/test/modules/apt/templates/_conf_header.erb	(revision 1c22429c336ddd7087e5a50b7a6a3e4add4e004b)
+++ src/puppetcode/environments/test/modules/apt/templates/_conf_header.erb	(revision 1c22429c336ddd7087e5a50b7a6a3e4add4e004b)
@@ -0,0 +1,1 @@
+// This file is managed by Puppet. DO NOT EDIT.
Index: src/puppetcode/environments/test/modules/apt/templates/_header.erb
===================================================================
--- src/puppetcode/environments/test/modules/apt/templates/_header.erb	(revision 1c22429c336ddd7087e5a50b7a6a3e4add4e004b)
+++ src/puppetcode/environments/test/modules/apt/templates/_header.erb	(revision 1c22429c336ddd7087e5a50b7a6a3e4add4e004b)
@@ -0,0 +1,1 @@
+# This file is managed by Puppet. DO NOT EDIT.
Index: src/puppetcode/environments/test/modules/apt/templates/conf.erb
===================================================================
--- src/puppetcode/environments/test/modules/apt/templates/conf.erb	(revision 1c22429c336ddd7087e5a50b7a6a3e4add4e004b)
+++ src/puppetcode/environments/test/modules/apt/templates/conf.erb	(revision 1c22429c336ddd7087e5a50b7a6a3e4add4e004b)
@@ -0,0 +1,1 @@
+<%= @content -%>
Index: src/puppetcode/environments/test/modules/apt/templates/pin.pref.erb
===================================================================
--- src/puppetcode/environments/test/modules/apt/templates/pin.pref.erb	(revision 1c22429c336ddd7087e5a50b7a6a3e4add4e004b)
+++ src/puppetcode/environments/test/modules/apt/templates/pin.pref.erb	(revision 1c22429c336ddd7087e5a50b7a6a3e4add4e004b)
@@ -0,0 +1,21 @@
+<%-
+@pin = "release a=#{@name}" # default value
+if @pin_release.length > 0
+  options = []
+  options.push("a=#{@release}") if @release.length > 0
+  options.push("n=#{@codename}") if @codename.length > 0
+  options.push("v=#{@release_version}") if @release_version.length > 0
+  options.push("c=#{@component}") if @component.length > 0
+  options.push("o=#{@originator}") if @originator.length > 0
+  options.push("l=#{@label}") if @label.length > 0
+  @pin = "release #{options.join(', ')}"
+elsif @version.length > 0
+  @pin = "version #{@version}"
+elsif @origin.length > 0
+  @pin = "origin #{@origin}"
+end
+-%>
+Explanation: <%= @_explanation %>
+Package: <%= @packages_string %>
+Pin: <%= @pin %>
+Pin-Priority: <%= @priority %>
Index: src/puppetcode/environments/test/modules/apt/templates/proxy.erb
===================================================================
--- src/puppetcode/environments/test/modules/apt/templates/proxy.erb	(revision 1c22429c336ddd7087e5a50b7a6a3e4add4e004b)
+++ src/puppetcode/environments/test/modules/apt/templates/proxy.erb	(revision 1c22429c336ddd7087e5a50b7a6a3e4add4e004b)
@@ -0,0 +1,4 @@
+Acquire::http::proxy "http://<%= @_proxy['host'] %>:<%= @_proxy['port'] %>/";
+<%- if @_proxy['https'] %>
+Acquire::https::proxy "https://<%= @_proxy['host'] %>:<%= @_proxy['port'] %>/";
+<%- end -%>
Index: src/puppetcode/environments/test/modules/apt/templates/source.list.erb
===================================================================
--- src/puppetcode/environments/test/modules/apt/templates/source.list.erb	(revision 1c22429c336ddd7087e5a50b7a6a3e4add4e004b)
+++ src/puppetcode/environments/test/modules/apt/templates/source.list.erb	(revision 1c22429c336ddd7087e5a50b7a6a3e4add4e004b)
@@ -0,0 +1,9 @@
+# <%= @comment %>
+<%- if @_include['deb'] then -%>
+deb <%- if @architecture or @_allow_unsigned -%>
+[<%- if @architecture %>arch=<%= @architecture %><% end %><%if @architecture and @_allow_unsigned %> <% end%><% if @_allow_unsigned %>trusted=yes<% end %>] <%- end %><%= @location %> <%= @_release %> <%= @repos %>
+<%- end -%>
+<%- if @_include['src'] then -%>
+deb-src <%- if @architecture or @_allow_unsigned -%>
+[<%- if @architecture %>arch=<%= @architecture %><% end %><%if @architecture and @_allow_unsigned %> <% end%><% if @_allow_unsigned %>trusted=yes<% end %>] <%- end %><%= @location %> <%= @_release %> <%= @repos %>
+<%- end -%>
