Skip to content
Snippets Groups Projects
Commit 79554fee authored by Hans Persson's avatar Hans Persson
Browse files

Lint: Don't use star comments.

parent e2c4277b
No related branches found
No related tags found
No related merge requests found
......@@ -8,9 +8,9 @@ class syslog::vars
}
/*
* Add or remove $ModLoad directives from the rsyslog configuration.
*/
# Add or remove $ModLoad directives from the rsyslog configuration.
define rsyslog::modload($ensure='present')
{
$modload_re = sprintf(
......@@ -84,21 +84,20 @@ class syslog-service__
}
/*
* Configure node to send its system logs to the central syslog server.
*
* This will add an rsyslog fragment (to /etc/rsyslog.d) for sending logs
* to a log server. By default, UDP over IPv4 will be used to send all
* logs to the NSC central syslog server.
*
* The lookup of the logserver IP address is performed on the Puppet
* master. Thus, we need to specify whether IPv4 and/or IPv6 should be
* used, since the Puppet master might not have the same view of what IP
* families are useable as the client. If a node specifies both IPv4 and
* IPv6 (i.e, ipfamily=>['ipv4','ipv6'], one of them will be selected
* based on what the resolver library on the Puppet master thinks is best
* for *it*, not what's best for the node in question.
*/
# Configure node to send its system logs to the central syslog server.
#
# This will add an rsyslog fragment (to /etc/rsyslog.d) for sending logs
# to a log server. By default, UDP over IPv4 will be used to send all
# logs to the NSC central syslog server.
#
# The lookup of the logserver IP address is performed on the Puppet
# master. Thus, we need to specify whether IPv4 and/or IPv6 should be
# used, since the Puppet master might not have the same view of what IP
# families are useable as the client. If a node specifies both IPv4 and
# IPv6 (i.e, ipfamily=>['ipv4','ipv6'], one of them will be selected
# based on what the resolver library on the Puppet master thinks is best
# for *it*, not what's best for the node in question.
class logging::syslog_client(
$logserver='syslog.nsc.liu.se',
$ipfamily='ipv4', # 'ipv4', 'ipv6' or ['ipv4','ipv6']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment