zulip/puppet
Alex Vandiver 7ef05316d5 puppet: Support IPv6 nameservers.
The syntax in `/etc/resolv.conf` does not include any brackets:
```
nameserver 2001:db8::a3
```

However, the format of the nginx `resolver` directive[^1] requires that
IPv6 addresses be enclosed in brackets.

Adjust the `resolver_ip` puppet function to surround any IPv6
addresses extracted from `/etc/resolv.conf` with square brackets, and
any addresses from `application_server.resolver` to gain brackets if
necessary.

Fixes: #26013.

[^1]: http://nginx.org/en/docs/http/ngx_http_core_module.html#resolver
2023-06-23 11:32:17 -07:00
..
zulip puppet: Support IPv6 nameservers. 2023-06-23 11:32:17 -07:00
zulip_ops puppet: Include trusted-proto definition in zulip_ops configurations. 2023-05-29 15:13:45 -07:00
deps.yaml puppet: Update dependencies. 2023-05-11 10:51:37 -07:00