Skip to content
This repository has been archived by the owner on Jun 18, 2021. It is now read-only.

Commit

Permalink
bug 1397674: revert error log piping from the atboot script; r=bustage
Browse files Browse the repository at this point in the history
  • Loading branch information
amyrrich committed Sep 7, 2017
1 parent 94298df commit 8b3f1d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/puppet/templates/puppet-atboot-common.erb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ run_puppet() {
# when the puppet exit status is incorrect.
tmp=`mktemp /tmp/puppet-outputXXXXXX`
. /usr/local/bin/proxy_reset_env.sh
/usr/bin/puppet agent --detailed-exitcodes $PUPPET_OPTIONS --server ${puppet_server} > $tmp 2>&1
/usr/bin/puppet agent --detailed-exitcodes $PUPPET_OPTIONS --server ${puppet_server} > $tmp 2>1
retval=$?
# just in case, if there were any errors logged, flag it as an error run
if grep -q "^Error:" $tmp
Expand Down

0 comments on commit 8b3f1d6

Please sign in to comment.