database_version = node[:timescaledb][:database_version]
database_cluster = "#{database_version}/main"
database_version = node[:timescaledb][:database_version]
database_cluster = "#{database_version}/main"
description "Alert dashboard for Prometheus Alertmanager"
user "prometheus"
exec_start "/opt/prometheus-server/karma/karma-linux-amd64 --config.file=/etc/prometheus/karma.yml"
description "Alert dashboard for Prometheus Alertmanager"
user "prometheus"
exec_start "/opt/prometheus-server/karma/karma-linux-amd64 --config.file=/etc/prometheus/karma.yml"
action [:enable, :start]
subscribes :reload, "template[/etc/prometheus/karma.yml]"
subscribes :restart, "archive_file[#{cache_dir}/karma-linux-amd64.tar.gz]"
action [:enable, :start]
subscribes :reload, "template[/etc/prometheus/karma.yml]"
subscribes :restart, "archive_file[#{cache_dir}/karma-linux-amd64.tar.gz]"