Skip to content

Commit 8390a44

Browse files
committed
fix(roles/influxdb): exclude recommended package
influxdata-archive-keyring is a recommended package for influxdb. it has been installed on updates and will result in having a repo (influxdata) on the server that provides the influxdb package too what will eventually overwrite the influxdb repo so influxdb will not be provided by our mirror anymore
1 parent 84d721f commit 8390a44

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

roles/repo_influxdb/templates/etc/yum.repos.d/influxdb.repo.j2

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
# {{ ansible_managed }}
2-
# 2023122901
2+
# 2026042901
33

44
[influxdb]
55
name = InfluxDB Repository - RHEL $releasever
66
{% if repo_influxdb__mirror_url is defined and repo_influxdb__mirror_url | length %}
77
baseurl={{ repo_influxdb__mirror_url }}/influxdb/rhel/$releasever/x86_64/stable
8+
# influxdata-archive-keyring is a "recommended" / optional package for influxdb and will installed when influxdb ist installed.
9+
# installing influxdata-archive-keyring will result in having an additional repo called "influxdata" on the server. that repo provides the influxdb package too which will collide with the influxdb repo and therefore overwrite the repo_influxdb__mirror_url.
10+
exclude = influxdata-archive-keyring
811
{% else %}
912
baseurl = https://repos.influxdata.com/rhel/$releasever/$basearch/stable
1013
{% endif %}

0 commit comments

Comments
 (0)