put bereqs in a valid subroutine
Merge pull request #431 from alphagov/varnish_templates

put bereqs in a valid subroutine