--one-time seems to imply --no-daemonize, but doesn't
|Assignee:||Markus Roberts||% Done:|
|Affected Puppet version:||0.25.4||Branch:|
I was encountering a problem when using —onetime seemed to hide all useful warning messages, but —debug output was not hidden.
This gives the impression that Puppet is doing work without logging it, when it is in fact logging it.
The problem seems to be that the manpage documentation implies that “—onetime” means “—nodaemonize”, but it instead should indicate the two are usually needed to be used in conjunction (as we do with the documentation for —noclient wanting —listen).
Markus suggests also that we could make “—onetime” when used with “—nodaemonize” output some simple text like “Daemonizing for a single run”, implying to the user that the should not expect to see output.
I would recommend doing both.