You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Affected Puppet, Ruby, OS and module versions/distributions
Puppet: 7.34.0
Ruby: 2.7.8
Distribution: Debian 12.9
Module version: 4.1.0
How to reproduce (e.g Puppet code you use)
Run any code with description defined for peers and systemd provider
What are you seeing
Warnings like systemd-networkd[1780650]: /etc/systemd/network/wg0.netdev:12: Unknown key 'Description' in section [WireGuardPeer], ignoring. in logs, which are also popping up in monitoring systems
What behaviour did you expect instead
Maybe it will be reasonable to add Description in [WireGuardPeer] section as a comment, something like this:
puppet-wireguard/templates/netdev.epp
Line 35 in 3f95972
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Run any code with
description
defined for peers andsystemd
providerWhat are you seeing
Warnings like
systemd-networkd[1780650]: /etc/systemd/network/wg0.netdev:12: Unknown key 'Description' in section [WireGuardPeer], ignoring.
in logs, which are also popping up in monitoring systemsWhat behaviour did you expect instead
Maybe it will be reasonable to add Description in [WireGuardPeer] section as a comment, something like this:
Output log
Any additional information you'd like to impart
According to documentation Description key is only accepted in [NetDev] section, but not in [WireGuardPeer] section
https://man7.org/linux/man-pages/man5/systemd.netdev.5.html#[WIREGUARDPEER]_SECTION_OPTIONS
The text was updated successfully, but these errors were encountered: