X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/524d90d022751710980613df6b943291fc1498d6..cd3653225c75a743806ae73b473eda8a2a93724e:/cookbooks/prometheus/attributes/default.rb?ds=sidebyside diff --git a/cookbooks/prometheus/attributes/default.rb b/cookbooks/prometheus/attributes/default.rb index bea00dfc6..a239c6a19 100644 --- a/cookbooks/prometheus/attributes/default.rb +++ b/cookbooks/prometheus/attributes/default.rb @@ -1 +1,9 @@ +default[:prometheus][:addresses] = {} default[:prometheus][:exporters] = {} +default[:prometheus][:snmp] = {} +default[:prometheus][:metrics] = {} +default[:prometheus][:files] = [] + +if node[:recipes].include?("prometheus::server") + default[:apt][:sources] |= ["grafana"] +end