29d65b95b1
The logging task removes all files from /etc/rsyslog.d, while cluster-haproxy (executed later in the deployment graph) wants to put its rsyslog configuration there. This commit moves HAProxy rsyslog configuration to cluster::haproxy::rsyslog class, and defines it in both logging task and cluster:haproxy class. Change-Id: I2b450ef8d8de4fc9d41ada458af26ab91b9c871e Closes-Bug: 1524687
8 lines
278 B
Plaintext
8 lines
278 B
Plaintext
# Create an additional socket in haproxy's chroot in order to allow logging via
|
|
# /dev/log to chroot'ed HAProxy processes
|
|
$AddUnixListenSocket /var/lib/haproxy/dev/log
|
|
|
|
# Send HAProxy messages to a dedicated logfile
|
|
if $programname startswith 'haproxy' then <%= @log_file %>
|
|
&~
|