]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/attributes/default.rb
Document IP ranges with comment
[chef.git] / cookbooks / prometheus / attributes / default.rb
index bea00dfc6ce9378638fd879d9ab3936812c30e38..1fe3790ab3571afe896d34b0c3b7c456781e082a 100644 (file)
@@ -1 +1,10 @@
+default[:prometheus][:addresses] = {}
 default[:prometheus][:exporters] = {}
+default[:prometheus][:snmp] = {}
+default[:prometheus][:metrics] = {}
+default[:prometheus][:files] = []
+default[:prometheus][:promscale] = false
+
+if node[:recipes].include?("prometheus::server")
+  default[:apt][:sources] |= %w[grafana timescaledb]
+end