From 1f08c9a784881084991dd3de3ff81750e8105f31 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sat, 12 Sep 2020 15:14:37 +0900 Subject: [PATCH] Specify attributes for `alertmanager-webhook-logger` --- cookbooks/prometheus/attributes.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cookbooks/prometheus/attributes.rb b/cookbooks/prometheus/attributes.rb index 5676d8d..21c31b7 100644 --- a/cookbooks/prometheus/attributes.rb +++ b/cookbooks/prometheus/attributes.rb @@ -31,4 +31,11 @@ node.reverse_merge!({ 'storage' => '/opt/prometheus/', 'location' => '/usr/local/bin/' }, + 'alertmanager_webhook' => { + 'url' => 'https://github.com/tomtom-international/alertmanager-webhook-logger/releases/download/', + 'prefix' => 'alertmanager-webhook-logger-', + 'postfix' => '.tar.gz', + 'storage' => '/opt/prometheus/', + 'location' => '/usr/local/bin/' + }, })