]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/attributes/default.rb
Add support for junos exporter
[chef.git] / cookbooks / prometheus / attributes / default.rb
index a239c6a198b85dd30789eb4146e25b53cec6bae7..0fe80895e3791473e4d79ba802d05b65f88c775e 100644 (file)
@@ -1,9 +1,6 @@
 default[:prometheus][:addresses] = {}
 default[:prometheus][:exporters] = {}
+default[:prometheus][:junos] = {}
 default[:prometheus][:snmp] = {}
 default[:prometheus][:metrics] = {}
 default[:prometheus][:files] = []
-
-if node[:recipes].include?("prometheus::server")
-  default[:apt][:sources] |= ["grafana"]
-end