]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/resources/collector.rb
nominatim: also download us postcode data
[chef.git] / cookbooks / prometheus / resources / collector.rb
index dc9c995a047a1304dfc87416d5e65506d11bd196..c9c28fc6e8046d5c9ce74b3915e48da1a7ab882e 100644 (file)
@@ -64,6 +64,10 @@ action :delete do
   systemd_service service_name do
     action :delete
   end
   systemd_service service_name do
     action :delete
   end
+
+  file "/var/lib/prometheus/node-exporter/#{new_resource.collector}.prom" do
+    action :delete
+  end
 end
 
 action_class do
 end
 
 action_class do