... | ... | @@ -606,6 +606,17 @@ More examples can be found on this [blog post](http://web.archive.org/web/202101 |
|
|
|
|
|
## Troubleshooting
|
|
|
|
|
|
## Consult the logs of past local Puppet agent runs
|
|
|
|
|
|
The command `journalctl` can be used to consult puppet agent logs on
|
|
|
the local machine:
|
|
|
|
|
|
journalctl -t puppet-agent
|
|
|
|
|
|
To view limit logs to the last day only:
|
|
|
|
|
|
journalctl -t puppet-agent --since=-1d
|
|
|
|
|
|
### Running Puppet by hand and logging
|
|
|
|
|
|
When a Puppet manifest is not behaving as it should, the first step is
|
... | ... | |