From 2e253b1b0f9ab99600fa44f6ec43a634ce4321ba Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Thu, 2 Jan 2025 15:37:17 +0100 Subject: [PATCH 1/2] Update manifests/rabbitmq_exporter.pp --- manifests/rabbitmq_exporter.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/rabbitmq_exporter.pp b/manifests/rabbitmq_exporter.pp index 340b2882..96526c0a 100644 --- a/manifests/rabbitmq_exporter.pp +++ b/manifests/rabbitmq_exporter.pp @@ -119,7 +119,7 @@ if versioncmp($version, '1.0.0') >= 0 { $extract_path = "/opt/${package_name}-${version}.${os}-${arch}" - $real_download_url = pick($download_url, "${download_url_base}/download/v${version}/${package_name}_${version}_${os}_${arch}.${download_extension}") + $real_download_url = pick($download_url, "${download_url_base}/download/v${version}/${package_name}_${version}_${os}_${arch}.${download_extension}") file { $extract_path: ensure => 'directory', owner => 'root', From 202a09d51641075607e79848cc49d708c039e235 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Thu, 2 Jan 2025 15:37:32 +0100 Subject: [PATCH 2/2] Update manifests/rabbitmq_exporter.pp --- manifests/rabbitmq_exporter.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/rabbitmq_exporter.pp b/manifests/rabbitmq_exporter.pp index 96526c0a..38e248bb 100644 --- a/manifests/rabbitmq_exporter.pp +++ b/manifests/rabbitmq_exporter.pp @@ -129,7 +129,7 @@ } } else { $extract_path = '/opt' - $real_download_url = pick($download_url, "${download_url_base}/download/v${version}/${package_name}-${version}.${os}-${arch}.${download_extension}") + $real_download_url = pick($download_url, "${download_url_base}/download/v${version}/${package_name}-${version}.${os}-${arch}.${download_extension}") } $notify_service = $restart_on_change ? {