Skip to content
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

Open
KrisBuytaert opened this issue Aug 4, 2015 · 4 comments
Open

vcl v4 declaration is missing #66

KrisBuytaert opened this issue Aug 4, 2015 · 4 comments

Comments

@KrisBuytaert
Copy link

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)

@fabiorauber
Copy link
Contributor

Currently this VCL is written for Varnish v3. VCL v4 requires some changes in the template file, and further testing.

@voroniys
Copy link
Contributor

Set ::varnish::params::version somewhere in your hiera and problem is solved

@carroarmato0
Copy link
Contributor

At the time this issue was created version 4 wasn't supported. Now it is. This issue can be closed.

@tobixen
Copy link
Contributor

tobixen commented Dec 29, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants