]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/attributes/default.rb
Merge branch 'patch-2' of https://github.com/Tigerfell/chef into pr257
[chef.git] / cookbooks / prometheus / attributes / default.rb
index bea00dfc6ce9378638fd879d9ab3936812c30e38..0200e1ca199400eb1d98ad7d4d8cdac467c7119c 100644 (file)
@@ -1 +1,7 @@
+default[:prometheus][:addresses] = {}
 default[:prometheus][:exporters] = {}
+default[:prometheus][:snmp] = {}
+
+if node[:recipes].include?("prometheus::server")
+  default[:apt][:sources] |= ["grafana"]
+end