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
If the fact fails to resolve or is not present, Facter returns nil.
If it should keep returning warning (e.g. for compatibility) it should return (a substring of) lldpctl's actual warnings :
# /sbin/lldpctl -f json
2023-05-03T18:28:31 [WARN/control] unable to connect to socket /run/lldpd/lldpd.socket: No such file or directory
2023-05-03T18:28:31 [WARN/lldpctl] not able to get the list of interfaces. Unable to connect to lldpd daemon
{
"lldp": {
}
}
The text was updated successfully, but these errors were encountered:
kBite
linked a pull request
May 3, 2023
that will
close
this issue
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce ( including debug output)
What do you expect?
If I understand https://www.puppet.com/docs/puppet/8/custom_facts.html correctly failing to resolve
lldp
shouldn't return warning, butnil
in caselldpd
daemon is not running.If it should keep returning warning (e.g. for compatibility) it should return (a substring of)
lldpctl
's actual warnings :The text was updated successfully, but these errors were encountered: