Files
puppet-prod/modules/libs/lib/facter
unkin-agent efe15ec078 Add networkctl fact (#573)
Hosts running systemd-networkd expose link, address, route and DNS state only through `networkctl`, so none of it is visible in PuppetDB for querying or reporting.

- add `networkctl` fact from `networkctl --json=short`, keyed by interface name
- confine to Linux hosts with `networkctl` and a running networkd (`/run/systemd/netif`)
- return nil on missing output or parse failure so puppet runs never break

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