X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e92ed5e09215d67f2bd7dc21a32425d7ec5aa26f..7f55df0811600d62bdb34c65c56b3d1928780d34:/cookbooks/prometheus/recipes/default.rb diff --git a/cookbooks/prometheus/recipes/default.rb b/cookbooks/prometheus/recipes/default.rb index c6b609b06..df3ec2ea5 100644 --- a/cookbooks/prometheus/recipes/default.rb +++ b/cookbooks/prometheus/recipes/default.rb @@ -19,7 +19,8 @@ include_recipe "git" include_recipe "networking" -include_recipe "ruby" + +package "ruby" if node.internal_ipaddress node.default[:prometheus][:mode] = "internal"