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