Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Wrong debian release name in /etc/apt/sources.list.d/influxdb.list #37

Open
elofu17 opened this issue Mar 7, 2023 · 0 comments
Open

Comments

@elofu17
Copy link

elofu17 commented Mar 7, 2023

This module (v1.5.0) creates a /etc/apt/sources.list.d/influxdb.list with a hard-coded release name 'buster' even though my machine is running 'bullseye':

cat influxdb.list
# This file is managed by Puppet. DO NOT EDIT.
# influxdb
deb https://repos.influxdata.com/debian buster stable

Instead of hard-coding the value I think you should use e.g. $::lsbdistcodename
(In my opinion this is also better than using 'stable')

Also:
If you browse to https://repos.influxdata.com/debian/ you see instructions to generate a trusted gpg key to go with the apt source.

Also:
The hard-coded apt source is missing the 'main' dir:
deb https://repos.influxdata.com/debian buster stable
should look like this:
deb https://repos.influxdata.com/debian <release> main

Also:
The current version (v1.5.0) seem to try to install an old gpg key (05CE15085FC09D18E99EFB22684A14CF2582E0C5) and it also use the deprecated 'apt-key' command.
Error: Execution of '/usr/bin/apt-key adv --no-tty --keyserver keyserver.ubuntu.com --recv-keys 05CE15085FC09D18E99EFB22684A14CF2582E0C5' returned 2: Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead
The module should install the new key directly to /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant