On 30/01/2013 08:19, Liangent wrote:
You may also want to set $wgSquidServersNoPurge[] = '10.4.1.15'; for
MediaWiki. btw. I guess this IP might change if I delete and recreate
that instance. Is there a good way to avoid hard-coding this? -Liangen
You can pull the ip from facter and use this in a template to output
that file with host specific options.
Something like
$wgSquidServersNoPurge[] = '<%= ipaddress %>';
might do the trick.
- Damian
_______________________________________________
Labs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/labs-l