How do I not show_diff when I do puppet agent -t?
Solution 1:
As noted by Preflightsiren in this comment:
you could replace -t with "--verbose --onetime --ignorecache --no-daemonize"
Solution 2:
puppet agent -t
shows diffs of binary files sometimes and it messes up my terminal. How can I get it to not show diffs at all?
I'm afraid that the answer is you can't. Because the --test
option enable the show_diff
, even if you add --no-show_diff
or show_diff = false
to the command line:
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'.