[fix] Pipe firstcheckin output to /dev/null

This commit is contained in:
William Wernert
2020-05-04 20:43:42 -04:00
parent 1c0a78e8ad
commit fc2de5a384
2 changed files with 5 additions and 12 deletions

View File

@@ -332,17 +332,17 @@ export percentage=0
fi
if [[ $is_master ]]; then
set_progress_str 21 'Accepting Salt key'
set_progress_str 20 'Accepting Salt key'
salt-key -ya "$MINION_ID" >> "$setup_log" 2>&1
fi
set_progress_str 22 'Copying minion pillars to master'
set_progress_str 21 'Copying minion pillars to master'
copy_minion_tmp_files 2>> "$setup_log"
set_progress_str 23 'Generating CA and checking in'
set_progress_str 22 'Generating CA and checking in'
salt_checkin 2>> "$setup_log"
set_progress_str 24 "$(print_salt_state_apply 'schedule')"
set_progress_str 23 "$(print_salt_state_apply 'schedule')"
salt-call state.apply -l info schedule >> $setup_log 2>&1