X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/468b5a87464aa7ee3d80550eb384a58d65e402d4..b7c12630cb9de017d76fe60ff296534d6d061399:/cookbooks/prometheus/recipes/default.rb diff --git a/cookbooks/prometheus/recipes/default.rb b/cookbooks/prometheus/recipes/default.rb index df3ec2ea5..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"