>   Detail: undefined method `map' for "/request":String


The problem isn't Varnish, it's actually within Puppet/Ruby.

You are passing along a string parameter with the value "/request" and are 
using an Array method ".map" on it. The "@health_check_request.map" method is 
only valid for Arrays, not Strings.
Assuming you actually meant to pass along a String, the following should work:

        <% if @health_check_request -%>
         .request = "<%= @health_check_request %>";
        <% else -%>

If not, check your input, make sure you're passing along an Array and not a 
String.

Mattias
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to