From 4bc3d6edada548b084891de3fc2d81ad51072882 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 11 Nov 2020 20:41:15 +0000 Subject: [PATCH] Install ruby for prometheus collectors --- cookbooks/prometheus/recipes/default.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cookbooks/prometheus/recipes/default.rb b/cookbooks/prometheus/recipes/default.rb index caac9aeb7..4011e05bd 100644 --- a/cookbooks/prometheus/recipes/default.rb +++ b/cookbooks/prometheus/recipes/default.rb @@ -20,6 +20,8 @@ include_recipe "git" include_recipe "networking" +package "ruby" + if node.internal_ipaddress node.default[:prometheus][:mode] = "internal" node.default[:prometheus][:address] = node.internal_ipaddress -- 2.39.5