.
This commit is contained in:
@@ -25,7 +25,7 @@ storage:
|
||||
mode: 0755
|
||||
- path: /var/lib/rsyslog
|
||||
overwrite: true
|
||||
mode: 0755
|
||||
mode: 0755
|
||||
|
||||
files:
|
||||
- path: /etc/hostname
|
||||
@@ -170,26 +170,26 @@ storage:
|
||||
ForwardToSyslog=yes
|
||||
|
||||
- path: /etc/rsyslog.conf
|
||||
mode: 0644
|
||||
contents:
|
||||
inline: |
|
||||
# Minimal rsyslog: receive from journald syslog socket and forward to remote
|
||||
mode: 0644
|
||||
contents:
|
||||
inline: |
|
||||
# Minimal rsyslog: receive from journald syslog socket and forward to remote
|
||||
|
||||
global(workDirectory="/var/lib/rsyslog")
|
||||
global(workDirectory="/var/lib/rsyslog")
|
||||
|
||||
# This is the important part: pick up what journald forwards when ForwardToSyslog=yes
|
||||
module(load="imuxsock" SysSock.Name="/run/systemd/journal/syslog")
|
||||
# This is the important part: pick up what journald forwards when ForwardToSyslog=yes
|
||||
module(load="imuxsock" SysSock.Name="/run/systemd/journal/syslog")
|
||||
|
||||
# Forward everything to your syslog server (TCP recommended)
|
||||
action(
|
||||
type="omfwd"
|
||||
target="syslog.undercloud.local"
|
||||
port="514"
|
||||
protocol="tcp"
|
||||
action.resumeRetryCount="-1"
|
||||
queue.type="linkedList"
|
||||
queue.size="50000"
|
||||
)
|
||||
# Forward everything to your syslog server (TCP recommended)
|
||||
action(
|
||||
type="omfwd"
|
||||
target="syslog.undercloud.local"
|
||||
port="514"
|
||||
protocol="tcp"
|
||||
action.resumeRetryCount="-1"
|
||||
queue.type="linkedList"
|
||||
queue.size="50000"
|
||||
)
|
||||
|
||||
- path: /etc/kubernetes/kubeadm-init.yaml
|
||||
mode: 0644
|
||||
|
||||
Reference in New Issue
Block a user