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
2026-03-17 17:38:22 +11:00
2023-07-02 14:21:09 +10:00
2026-11-15 18:35:20 +11:00
2023-06-21 22:03:43 +10:00
2025-07-08 20:19:36 +10:00
2024-02-17 22:57:36 +11:00
S
Description
production puppet-control repository
4.4 MiB
Languages
Puppet 66.4%
HTML 27.1%
Ruby 6.5%