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

implementing backend selection #32

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

PeterAlfonsLoch
Copy link

Pull Request (PR) description

Implementation of -> #31

"The current code for backend selection is broken with templates for vcl version 4.
It seems this fork has been created from an early state of maxchk's repository before all of this took place: https://github.com/maxchk/puppet-varnish/commits/develop/templates/includes/backendselection4.vcl.erb"

This Pull Request (PR) fixes the following issues

Jul 06 15:24:08 lb-ng varnishd[215185]: Message from VCC-compiler:
Jul 06 15:24:08 lb-ng varnishd[215185]: Expression has type directors.round_robin, expected BACKEND
Jul 06 15:24:08 lb-ng varnishd[215185]: ('/etc/varnish/includes/backendselection.vcl' Line 3 Pos 26) -- (Pos 28)
Jul 06 15:24:08 lb-ng varnishd[215185]:   set req.backend_hint = director_name;
Jul 06 15:24:08 lb-ng varnishd[215185]: -------------------------###-
Jul 06 15:24:08 lb-ng varnishd[215185]: Running VCC-compiler failed, exited with 2

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

Successfully merging this pull request may close these issues.

1 participant