File: source.list.epp

package info (click to toggle)
puppet-module-puppetlabs-apt 6.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 756 kB
  • sloc: ruby: 4,751; sh: 31; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 787 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
<%- | String $comment, Hash $includes, $opt_architecture, Boolean $allow_unsigned, $location, $release, String $repos | -%>
# <%= $comment %>
<%- if $includes['deb'] { -%>
deb <%- if ($opt_architecture or $allow_unsigned) {-%>
 [<%- if ($opt_architecture) {%>arch=<%= $opt_architecture %><% } %><%if ($opt_architecture and $allow_unsigned) {%> <% }%><% if ($allow_unsigned) {%>trusted=yes<% } %>] <%- } %> <%= $location %> <%= $release %> <%= $repos %>
<%- } -%>
<%- if $includes['src'] { -%>
deb-src <%- if $opt_architecture or $allow_unsigned { -%>
 [<%- if ($opt_architecture) {%>arch=<%= $opt_architecture %><% } %><%if ($opt_architecture and $allow_unsigned) {%> <% }%><% if ($allow_unsigned) {%>trusted=yes<% } %>] <%- } %> <%= $location %> <%= $release %> <%= $repos %>
<%- } -%>