Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Coremunity
-
Platform Core KANBAN
-
Enhancement
-
When the only log is a file, and Puppet fails to open that file, Puppet will exit with an error.
Description
When passing an invalid path to the --logdest option, I would expect at least a warning. Instead, it just silently ignores it:
# puppet agent -t --logdest /no/such/path/foo.log
|
Info: Using configured environment 'production'
|
Info: Retrieving pluginfacts
|
Info: Retrieving plugin
|
Info: Loading facts
|
Info: Caching catalog for master.puppetlabs.vm
|
Info: Applying configuration version '1469935005'
|
[...]
|
Notice: Applied catalog in 33.58 seconds
|