varnish / varnishgather

Information gathering tool for Varnish Cache.
45 stars 36 forks source link

Find VCL files from the vcl_path #96

Closed dridi closed 2 years ago

dridi commented 2 years ago

This could be further improved, but so far it is probably good enough: it enumerates file from /etc/varnish and the value of vcl_path if the parameter was available. Includes are then recursively resolved on a file-by-file basis.

The operation is broken down into 3 vcl_find*() functions.

Closes #90 Fixes #85

Creamen commented 2 years ago

@Dridi : Do we expect results to be identical if ran on same host ? I am comparing master version with that branch and see differences.

dridi commented 2 years ago

You may see more files, but not less.

Creamen commented 2 years ago

You may see more files, but not less.

I see dead people ! But correct I see more ( our vcl_path in the project I'm working for contains more path ) with the newest version than from current one.