X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/468b5a87464aa7ee3d80550eb384a58d65e402d4..50aea11082eaa90bd37593b9c987d38a082f4e1b:/cookbooks/prometheus/recipes/default.rb?ds=sidebyside 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"