Install `alertmanager-webhook`.

This commit is contained in:
Kazuhiro MUSASHI 2021-05-02 19:20:39 +09:00
parent 2bcbc2f396
commit ff39013b2c
1 changed files with 3 additions and 1 deletions

View File

@ -35,7 +35,9 @@ directory node['alertmanager_webhook']['storage'] do
mode '755'
end
execute "tar zxf #{TMP} -C #{node['alertmanager_webhook']['storage']}"
execute "unzip #{TMP} -d #{node['alertmanager_webhook']['storage']}" do
not_if "test -e #{node['alertmanager_webhook']['storage']}alertmanager-webhook-logger"
end
# Change Owner and Permissions:
file "#{node['alertmanager_webhook']['storage']}alertmanager-webhook-logger" do