Skip to content

Commit 3c30f9c

Browse files
authored
(Implicitly) use apt::keyring instead of apt::key for APT source
As Debian 13 removed apt-key, the module does not work when specifying the key ID. Switching to using the gpg key as a keyring fixes this.
1 parent 123d7fe commit 3c30f9c

File tree

1 file changed

+1
-1
lines changed
  • manifests/repo/nodesource

1 file changed

+1
-1
lines changed

manifests/repo/nodesource/apt.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
if ($ensure != 'absent') {
1010
apt::source { 'nodesource':
1111
key => {
12-
'id' => '6F71F525282841EEDAF851B42F59B5F99B1BE0B4',
12+
'name' => 'nodesource-repo.gpg.key',
1313
'source' => 'https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key',
1414
},
1515
location => "https://deb.nodesource.com/node_${url_suffix}",

0 commit comments

Comments
 (0)