-
Dridi Boukelmoune authored
By default: /usr/share/vcl This directory becomes a drop-in, and standard location for library-like VCL files. It streamlines third-party VCL packaging, offering a blessed for installation, leaving the canonical /etc/varnish directory entirely to the end-user. While it is common to see VMOD packages in the wild, there are some VCL libraries (sometimes backed by VMODs) that would benefit some form of standardization. It then becomes possible to install packages, and use relative includes that JustWork(tm). This is especially true for VCL libraries that are split into several files, they can put themselves in a subdirectory in /usr/share/vcl and use it as a namespace for includes between files of the library: # somewhere in my awesome "foo" library include "foo/some_feature.vcl" Choosing a default path of `/etc/varnish:/usr/share/vcl` prevents VCLs dropped in the system from shadowing end-users VCLs but at the same empowers said users to override a "standard" VCL in their `/etc` tree, with no additional parameters fiddling.
1941f863