Skip to content

Commit 06f1ef7

Browse files
committed
Fix epp parameter tag
While here, further validate provided data.
1 parent 45f4045 commit 06f1ef7

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

templates/source_deb822.epp

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
<% | String $comment,
1+
<%- |
2+
String[1] $comment,
23
Enum['yes','no'] $enabled,
3-
Array[String] $types,
4-
Array[String] $uris,
5-
Array[String] $suites,
6-
Array[String] $components,
7-
Optional[Array] $architectures = undef,
4+
Array[String[1]] $types,
5+
Array[String[1]] $uris,
6+
Array[String[1]] $suites,
7+
Array[String[1]] $components,
8+
Optional[Array[String[1]]] $architectures = undef,
89
Optional[Enum['yes','no']] $allow_insecure = undef,
910
Optional[Enum['yes','no']] $repo_trusted = undef,
1011
Optional[Enum['yes','no']] $check_valid_until = undef,
11-
Optional[Variant[Stdlib::AbsolutePath,Array[String]]] $signed_by = undef,
12+
Optional[Variant[Stdlib::AbsolutePath,Array[String[1]]]] $signed_by = undef,
1213
| -%>
1314
# <%= $comment %>
1415
Enabled: <%= $enabled %>

0 commit comments

Comments
 (0)