X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e3574f369b90ad143048354173ec95509289c403..0c4c2dfa07939b515d41f8128c0b937ec6823cd1:/cookbooks/prometheus/recipes/default.rb diff --git a/cookbooks/prometheus/recipes/default.rb b/cookbooks/prometheus/recipes/default.rb index 0c4bc59da..c6b609b06 100644 --- a/cookbooks/prometheus/recipes/default.rb +++ b/cookbooks/prometheus/recipes/default.rb @@ -19,8 +19,7 @@ include_recipe "git" include_recipe "networking" - -package "ruby" +include_recipe "ruby" if node.internal_ipaddress node.default[:prometheus][:mode] = "internal" @@ -124,7 +123,10 @@ unless node[:prometheus][:junos].empty? --ssh.user=prometheus --ssh.keyfile=/var/lib/prometheus/junos-exporter/id_rsa --ssh.targets=#{targets} + --bgp.enabled=false --lacp.enabled=true + --ldp.enabled=false + --ospf.enabled=false --power.enabled=false ] ssh true