]> git.openstreetmap.org Git - chef.git/commitdiff
Run passenger exporter as root
authorTom Hughes <tom@compton.nu>
Sat, 3 Dec 2022 14:39:24 +0000 (14:39 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 3 Dec 2022 14:39:24 +0000 (14:39 +0000)
cookbooks/passenger/recipes/default.rb

index 74eba83eb0fb5ad84c1dab4bf339d1783f910688..c1bcb10b020e71b07971648b227080c3d311c4f1 100644 (file)
@@ -53,5 +53,6 @@ munin_plugin "passenger_requests"
 
 prometheus_exporter "passenger" do
   port 9149
+  user "root"
   environment "PASSENGER_INSTANCE_REGISTRY_DIR" => node[:passenger][:instance_registry_dir]
 end