WIP Initial kosmos_prometheus wrapper cookbook

This commit is contained in:
Greg Karekinian
2026-07-03 17:47:13 +02:00
parent 4cd6c41254
commit 765d0b080e
11 changed files with 280 additions and 4 deletions
@@ -0,0 +1,21 @@
#
# Cookbook:: kosmos_prometheus
# Recipe:: alertmanager
#
include_recipe "firewall"
prometheus_alertmanager_install "alertmanager" do
version node["prometheus"]["alertmanager"]["version"]
checksum node["prometheus"]["alertmanager"]["checksum"]
end
prometheus_alertmanager_config "alertmanager"
prometheus_alertmanager_service "alertmanager"
firewall_rule "prometheus alertmanager" do
port 9093
source "10.1.1.0/24"
protocol :tcp
command :allow
end