]> git.openstreetmap.org Git - chef.git/commitdiff
Install ruby for prometheus collectors
authorTom Hughes <tom@compton.nu>
Wed, 11 Nov 2020 20:41:15 +0000 (20:41 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 11 Nov 2020 20:41:15 +0000 (20:41 +0000)
cookbooks/prometheus/recipes/default.rb

index caac9aeb77dd39e6c8e5eb07158119de6af36a14..4011e05bde465cc3c9426a70ab6289b468996ea2 100644 (file)
@@ -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