Files
puppet-prod/modules/libs/lib/facter
unkin-agent b1f2fff045 Resolve subnet facts from secondary interfaces (#557)
BinaryLane edge hosts have a public primary IP, so region/environment/country/zone resolve to unknown even though their VPC NIC sits in a known subnet.

- match the primary IP first, unchanged for existing hosts
- otherwise scan interface bindings in name order, skipping lo, dum* and wg*
- add modules/libs/test/subnet_facts_check.rb (`ruby modules/libs/test/subnet_facts_check.rb`)

Reviewed-on: #557
Co-authored-by: unkin-agent <unkin-agent@unkin.net>
Co-committed-by: unkin-agent <unkin-agent@unkin.net>
2026-10-13 21:46:53 +11:00
..
2024-02-17 23:03:54 +11:00
2024-05-19 21:28:14 +10:00
2024-04-21 15:08:28 +10:00
2024-04-21 15:08:28 +10:00
2024-02-17 23:03:54 +11:00
2024-04-21 15:08:28 +10:00
2024-04-21 15:08:28 +10:00
2025-07-08 20:19:36 +10:00
2024-04-21 15:08:28 +10:00