Files
puppet-prod/modules/libs/lib/facter
unkin-agent bd126a0d1e Slim networkctl fact (#576)
The networkctl fact dumps every raw `networkctl --json=short` field, route and interface (including CNI veths), with addresses as byte arrays, pushing facter past its 4096 fact value limit.

- skip links networkd does not manage
- keep only state, type, MTU and config file fields per link
- render MAC and IP addresses as strings, drop routes and empty dropins
- return nil when no managed links exist

Reviewed-on: #576
Co-authored-by: unkin-agent <unkin-agent@unkin.net>
Co-committed-by: unkin-agent <unkin-agent@unkin.net>
2026-11-15 18:55:12 +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
2026-11-15 18:55:12 +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