]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/resources/collector.rb
Move exporters to /opt/prometheus-exporters
[chef.git] / cookbooks / prometheus / resources / collector.rb
index 4a0c22d9b61a28dcfe1e8b0bd010b4cdbf5d60b7..ef103c3c0733d778c7fe84d9a56b0aaffd12cf48 100644 (file)
@@ -78,7 +78,7 @@ action_class do
   end
 
   def executable_path
-    "/opt/prometheus/collectors/#{new_resource.collector}/#{new_resource.collector}_collector"
+    "/opt/prometheus-exporters/collectors/#{new_resource.collector}/#{new_resource.collector}_collector"
   end
 
   def executable_options