默认情况下,puppet的日志条目正在保存/var/log/messages(Redhat-Like Linux).
https://docs.puppetlabs.com/pe/latest/install_what_and_where.html#log-files
要登录/var/log/puppet/puppet.log,您可以取消注释相关的行/etc/sysconfig/puppet.
# The puppetmaster server
#PUPPET_SERVER=puppet
# If you wish to specify the port to connect to do so here
#PUPPET_PORT=8140
# Where to log to. Specify syslog to send log messages to the system log.
PUPPET_LOG=/var/log/puppet/puppet.log
# You may specify other parameters to the puppet client here
#PUPPET_EXTRA_OPTS=--waitforcert=500
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
23303 次 |
| 最近记录: |