Bug 809222

Summary: Set server identity (-i) through sysconfig file
Product: [Fedora] Fedora EPEL Reporter: George Notaras <gnot>
Component: varnishAssignee: Ingvar Hagelund <ingvar>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: el6CC: ingvar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-06 14:36:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description George Notaras 2012-04-02 19:05:56 UTC
Since each varnish server could be part of a server farm, it would be nice if /etc/sysconfig/varnish had a user-definable variable, ``VARNISH_IDENTITY``, which would then be used in the ``-i`` command line option of varnishd.

When ``-i`` is used, the identity string is available in the vcl as the ``server.identity`` variable and could be used to form special informative headers about the server that served the request.

Comment 1 Ingvar Hagelund 2013-11-06 14:36:53 UTC
This would be a change for upstream. I don't think I'll add this to the EPEL package at this point. 

It is quite trivial to add configuration that adds this by hand anyway. Just add the necessary options to DAEMON_OPTS in /etc/sysconfig/varnish.

Closing as NOTABUG.