-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vcl v4 declaration is missing #66
Comments
Currently this VCL is written for Varnish v3. VCL v4 requires some changes in the template file, and further testing. |
Set ::varnish::params::version somewhere in your hiera and problem is solved |
At the time this issue was created version 4 wasn't supported. Now it is. This issue can be closed. |
As far as I can see, "vcl 4.0" is printed out at the top of the vcl, but the vcl template is still using the older error syntax. |
When trying to install a Varnish v4 based setup 4.0.3 on EL7
Varnish complains as soon as class { 'varnish::vcl': }· is instantiated.
Aug 04 10:05:21 varnish-1 varnish_reload_vcl[6347]: Message from VCC-compiler:
Aug 04 10:05:21 varnish-1 varnish_reload_vcl[6347]: VCL version declaration missing
Aug 04 10:05:21 varnish-1 varnish_reload_vcl[6347]: Update your VCL to Version 4 syntax, and add
Aug 04 10:05:21 varnish-1 varnish_reload_vcl[6347]: vcl 4.0;
Aug 04 10:05:21 varnish-1 varnish_reload_vcl[6347]: on the first line the VCL files.
Aug 04 10:05:21 varnish-1 varnish_reload_vcl[6347]: ('input' Line 4 Pos 1)
The text was updated successfully, but these errors were encountered: