X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/524d90d022751710980613df6b943291fc1498d6..a74013ffcd3dec22dbeb3ee335617bb39ea11bf5:/cookbooks/prometheus/attributes/default.rb?ds=inline 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