]> git.openstreetmap.org Git - chef.git/commitdiff
Use ruby cookbook to install ruby for prometheus
authorTom Hughes <tom@compton.nu>
Sat, 23 Nov 2024 15:06:16 +0000 (15:06 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 23 Nov 2024 15:06:16 +0000 (15:06 +0000)
cookbooks/prometheus/metadata.rb
cookbooks/prometheus/recipes/default.rb

index 6148979b9bd5282754c2741d4a473acfcf5d80f6..30f20802db98a616fef3d1bd6a21f002fc538f2a 100644 (file)
@@ -12,3 +12,4 @@ depends           "awscli"
 depends           "git"
 depends           "hardware"
 depends           "networking"
+depends           "ruby"
index df3ec2ea5fe3499f4918f0324a232b950aa2b409..c6b609b0692f78f4c816f459b9ac14a92bdb21f0 100644 (file)
@@ -19,8 +19,7 @@
 
 include_recipe "git"
 include_recipe "networking"
-
-package "ruby"
+include_recipe "ruby"
 
 if node.internal_ipaddress
   node.default[:prometheus][:mode] = "internal"