]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/resources/exporter.rb
nominatim: do not forward status.php without param to UI
[chef.git] / cookbooks / prometheus / resources / exporter.rb
index 5eca43f5cd274a40afbb583f5139af5a9094d679..bab318a4ab92edb2f43b15a91e89d2c009b2925f 100644 (file)
@@ -59,6 +59,8 @@ action :create do
     only_if { node[:prometheus][:mode] == "external" }
   end
 
+  node.default[:prometheus][:addresses][new_resource.exporter] = listen_address
+
   if new_resource.register_target
     node.default[:prometheus][:exporters][new_resource.port] = {
       :name => new_resource.exporter,