Skip to content

Commit

Permalink
remove code for old cfengine versions (1 and 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed Sep 30, 2022
1 parent 1a9c6ac commit 2a10b25
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions bin/fai-do-scripts
Original file line number Diff line number Diff line change
Expand Up @@ -162,22 +162,6 @@ do_script() {
fc_check_status $file $exitcode | tee -a $LOGDIR/cfagent.log
;;

*"cfagent"*)
vecho "Executing cfagent: $file"
echo "===== cfagent: $file =====" >> $LOGDIR/cfagent.log 2>&1
./$file $cfagentdebug -qKI -D${cfclasses} >> $LOGDIR/cfagent.log 2>&1
savemaxstatus $?
fc_check_status $file $exitcode | tee -a $LOGDIR/cfagent.log
;;

*"cfengine script"*)
vecho "Executing cfengine: $file"
echo "===== cfengine: $file =====" >> $LOGDIR/cfengine.log 2>&1
./$file -K -v -f $file -D${cfclasses} >> $LOGDIR/cfengine.log 2>&1
savemaxstatus $?
fc_check_status $file $exitcode | tee -a $LOGDIR/cfengine.log
;;

*[Pp]erl*script*)
vecho "Executing perl: $file"
echo "===== perl: $file =====" >> $LOGDIR/perl.log 2>&1
Expand Down

0 comments on commit 2a10b25

Please sign in to comment.