include_recipe "git"
include_recipe "networking"
-
-package "ruby"
+include_recipe "ruby"
if node.internal_ipaddress
node.default[:prometheus][:mode] = "internal"
--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