puppet agent --test --noop >/var/tmp/puppet_noop_20130315 2>&1
Notes:
- The 2>&1 redirects stderr to where stdin points
- stdin points to the console by default unless you change that
- here stdin is redirected to a file under /var/tmp
No comments:
Post a Comment
Note: only a member of this blog may post a comment.