blob: f26613bd0ce4c9700e0765ecfdcdb41c55d825e2 (
plain)
1
2
3
4
5
6
7
8
9
10
|
echo "\\$ModLoad imfile" > /target/etc/rsyslog.d/chef.conf; \
echo "\\$InputFileName /var/log/chef-client.log" >> /target/etc/rsyslog.d/chef.conf; \
echo "\\$InputFileReadMode 0" >> /target/etc/rsyslog.d/chef.conf; \
echo "\\$InputFileTag" >> /target/etc/rsyslog.d/chef.conf; \
echo "\\$InputFileStateFile firstboot_log" >> /target/etc/rsyslog.d/chef.conf; \
echo "\\$InputFileSeverity notice" >> /target/etc/rsyslog.d/chef.conf; \
echo "\\$InputFileFacility local3" >> /target/etc/rsyslog.d/chef.conf; \
echo "\\$InputRunFileMonitor" >> /target/etc/rsyslog.d/chef.conf; \
echo "\\$InputFilePollInterval 1" >> /target/etc/rsyslog.d/chef.conf; \
echo "local3.info @$server:514" >> /target/etc/rsyslog.d/chef.conf; \
|