Slim networkctl fact #576

Merged
benvin merged 1 commits from benvin/networkctl-fact-slim into develop 2026-11-15 18:55:12 +11:00
Member

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
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
unkin-agent added 1 commit 2026-11-15 18:47:01 +11:00
Slim networkctl fact to managed links and key fields
ci/woodpecker/pr/erb-validate Pipeline was successful
ci/woodpecker/pr/bolt-validate Pipeline was successful
ci/woodpecker/pr/epp-validate Pipeline was successful
ci/woodpecker/pr/yamllint Pipeline was successful
ci/woodpecker/pr/ruby-validate Pipeline was successful
ci/woodpecker/pr/puppet-lint Pipeline was successful
ci/woodpecker/pr/ruby-check Pipeline was successful
ci/woodpecker/pr/puppet-validate Pipeline was successful
56f2d6db40
Author
Member

No findings.

No findings.
benvin merged commit bd126a0d1e into develop 2026-11-15 18:55:12 +11:00
benvin deleted branch benvin/networkctl-fact-slim 2026-11-15 18:55:13 +11:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/puppet-prod#576