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