X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/524d90d022751710980613df6b943291fc1498d6..6ab5fb9c6d2e0d309835648e78333ed40d654885:/cookbooks/prometheus/attributes/default.rb?ds=inline diff --git a/cookbooks/prometheus/attributes/default.rb b/cookbooks/prometheus/attributes/default.rb index bea00dfc6..d95325fde 100644 --- a/cookbooks/prometheus/attributes/default.rb +++ b/cookbooks/prometheus/attributes/default.rb @@ -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] |= ["grafana"] +end