WIP Initial kosmos_prometheus wrapper cookbook
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user