On Wed, Jan 30, 2013 at 6:33 PM, Damian Zaremba
<[email protected]> wrote:
> 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.

errr, I think that IP's going in a file on a different host than the
one that actually has that IP.

-Jeremy

_______________________________________________
Labs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/labs-l

Reply via email to