Skip to content

Commit 22fa3e8

Browse files
committed
(#241) Apt: Write repo key to own file
Without setting the name attribute, the key will be added to the global /etc/apt/trusted.gpg keyring. That is deprecated. Also we need to ensure `id` isn't set, otherwise apt-key might be invoked to fetch the key from a keyserver.
1 parent df0a8e5 commit 22fa3e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

manifests/install.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
release => 'stable',
9393
repos => 'main',
9494
key => {
95-
'id' => '9D539D90D3328DC7D6C8D3B9D8FF8E1F7DF8B07E',
95+
'name' => 'influxdata-archive.key',
9696
'source' => "${telegraf::repo_location}influxdata-archive_compat.key",
9797
},
9898
}

0 commit comments

Comments
 (0)