From c0b02b24c55c13133b9b98cd7f1959dc6c8878d2 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Thu, 7 May 2026 11:59:32 +0200 Subject: [PATCH] Give source dir to prometheus metric script For upcoming changes to the metric script that also needs data from the sources directory. --- cookbooks/taginfo/recipes/default.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/taginfo/recipes/default.rb b/cookbooks/taginfo/recipes/default.rb index d097974fc..e3f3d2c8c 100644 --- a/cookbooks/taginfo/recipes/default.rb +++ b/cookbooks/taginfo/recipes/default.rb @@ -246,7 +246,7 @@ node[:taginfo][:sites].each do |site| interval "15m" user "taginfo" path node[:ruby][:bundle] - options "exec sources/metrics.rb #{directory}/data" + options "exec sources/metrics.rb #{directory}/data #{directory}/sources" working_directory "#{directory}/taginfo" end end -- 2.39.5