Ask Your Question

Get rid of log notice and changes

asked 2016-06-11 11:41:38 -0600

bphamt gravatar image

Hello guys,

Still quite new to puppet, but I have a question:

Is there a way to get rid of all the notification and changes made when you puppet agent -t a new client? I just want it clean looking, maybe, possibly with "finished in x seconds" still shown. I've tried adding "log_level = crit " in the config, but that didn't do anything for me. Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-06-13 08:33:09 -0600

scoffland gravatar image

The puppet help provides the following

puppet help agent

  • --test: Enable the most common options used for testing. These are 'onetime', 'verbose', 'ignorecache', 'no-daemonize', 'no-usecacheonfailure', 'detailed-exit-codes', 'no-splay', and 'show_diff'.

in order to get reduced output from the puppet agent run try manually specifying the options you want and excluding the ones you don't such as verbose and show_diff

puppet agent --onetime --ignorecache --no-daemonize --no-usecacheonfailure --no-splay

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-06-11 11:41:38 -0600

Seen: 47 times

Last updated: Jun 13 '16