-
- Downloads
Refactor setup of central syslogging for IPv6 support.
The 'central-syslog-client' class used to hardcode the use of IPv4 for the log server, with no way of overriding it. We did this since the lookup of the IP address is done by the Puppet master, and it might not have the same view of which IP families were appropriate to use as the Puppet client. This was under the assumption that all our nodes would have IPv4, and none would be IPv6-only. We rewrite this class to be a parametrized class where specific nodes can select if IPv4, IPv6, or either, is appropriate for it, defaulting to IPv4, assuming that most of our nodes will be dual-stack or IPv4- only, and very few nodes will be IPv6-only. We also allow a node to specify whether to use UDP, TCP or RELP, what logs to send (using a standard syslogd selector), what format to use, and even which server to send the logs to. The class is also renamed to 'logging::syslog_client'. This was originally commit 755b7236acae in intserv.
Loading
Please register or sign in to comment