aboutsummaryrefslogtreecommitdiff
path: root/personal_infra/puppet
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2023-11-10 17:08:35 +0100
committeralex <alex@pdp7.net>2023-11-10 17:12:04 +0100
commitda6b5cdb741366e69b7152d0a580504ba8ff24ed (patch)
tree38686f6f63690f3487c506a4b77e7ea779794295 /personal_infra/puppet
parent3edf7469a18b684b0b657646ee7d41422dca18b0 (diff)
Fix otelcol-contrib package
Diffstat (limited to 'personal_infra/puppet')
-rw-r--r--personal_infra/puppet/modules/otel/manifests/init.pp4
-rw-r--r--personal_infra/puppet/site/clickhouse.h1.int.pdp7.net.pp2
2 files changed, 3 insertions, 3 deletions
diff --git a/personal_infra/puppet/modules/otel/manifests/init.pp b/personal_infra/puppet/modules/otel/manifests/init.pp
index 0665db51..cfe34abf 100644
--- a/personal_infra/puppet/modules/otel/manifests/init.pp
+++ b/personal_infra/puppet/modules/otel/manifests/init.pp
@@ -1,6 +1,6 @@
class otel($version) {
- package {'otel-contrib':
- source => "https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v${version}/otelcol-contrib_${version}_linux_386.rpm",
+ package {'otelcol-contrib':
+ source => "https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v${version}/otelcol-contrib_${version}_linux_amd64.rpm",
}
->
service {'otelcol-contrib':
diff --git a/personal_infra/puppet/site/clickhouse.h1.int.pdp7.net.pp b/personal_infra/puppet/site/clickhouse.h1.int.pdp7.net.pp
index 6cce8950..dd9e15c8 100644
--- a/personal_infra/puppet/site/clickhouse.h1.int.pdp7.net.pp
+++ b/personal_infra/puppet/site/clickhouse.h1.int.pdp7.net.pp
@@ -50,7 +50,7 @@ node 'clickhouse.h1.int.pdp7.net' {
exporters: [ clickhouse ]
| EOT
,
- require => Package['otel-contrib'],
+ require => Package['otelcol-contrib'],
notify => Service['otelcol-contrib'],
}
}