We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 44b5124 + bf3451d commit 447706dCopy full SHA for 447706d
manifests/source.pp
@@ -125,11 +125,17 @@
125
126
$header = epp('apt/_header.epp')
127
128
+ if $architecture {
129
+ $_architecture = regsubst($architecture, '\baarch64\b', 'arm64')
130
+ } else {
131
+ $_architecture = undef
132
+ }
133
+
134
$sourcelist = epp('apt/source.list.epp', {
135
'comment' => $comment,
136
'includes' => $includes,
137
'options' => delete_undef_values({
- 'arch' => $architecture,
138
+ 'arch' => $_architecture,
139
'trusted' => $allow_unsigned ? {true => "yes", false => undef},
140
'signed-by' => $keyring,
141
}),
0 commit comments