From 64ec53f6fc5fac8cae082b50be523867cafdb580 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Fri, 11 Oct 2019 20:47:30 +0800 Subject: [PATCH] Add `Alertmanage` attributes for itamae. --- cookbooks/prometheus/attributes.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cookbooks/prometheus/attributes.rb b/cookbooks/prometheus/attributes.rb index 356c0b7..5676d8d 100644 --- a/cookbooks/prometheus/attributes.rb +++ b/cookbooks/prometheus/attributes.rb @@ -23,5 +23,12 @@ node.reverse_merge!({ 'postfix' => '.linux-amd64.tar.gz', 'storage' => '/opt/blackbox_exporter/bin/', 'location' => '/usr/local/bin/' - } + }, + 'alertmanager' => { + 'url' => 'https://github.com/prometheus/alertmanager/releases/download/', + 'prefix' => 'alertmanager-', + 'postfix' => '.linux-amd64.tar.gz', + 'storage' => '/opt/prometheus/', + 'location' => '/usr/local/bin/' + }, })