July 2014
Beginner
280 pages
5h 36m
English
To use syslog, set reports = log in the main section of /etc/puppet/puppet.conf and report=true on all the nodes, as shown in the following snippet:
[main]
reports = log
[agent]
report = trueAfter restarting httpd on our masters, we'll see catalog compilation messages from nodes appearing in our syslog logs. By default, Puppet will use the daemon facility to change the facility set syslogfacility in the [main] section of puppet.conf. To determine your current facility, use the following command:
# puppet master --configprint syslogfacility daemon
On our system using rsyslog, we can have all Puppet report messages go into a Puppet logfile using syslogfacility = local5, as shown in the following snippet:
[main] reports = log syslogfacility ...
Read now
Unlock full access