Package: fai-server
Version: 3.1.8

When using cfengine2 scripts, FAI doesn't copy files when you are using
a "copy" section.
Copying is skipped, and only produces lines in the cfagent.log file
looking like:
"Checking for potential rule:: [ ... the file that should be copied ] / any"

This is due to fact that in the NFSROOT, in /usr/bin/fai-do-scripts,
cfagent is executed by default with the -k option:

113:    *"cfagent"*)
114:        echo "Executing cfagent: $file"
115:        echo "=====   cfagent: $file   =====" >> $LOGDIR/cfagent.log
2>&1
116:        #./$file -qKkI -D${cfclasses} >> $LOGDIR/cfagent.log 2>&1
117:        fc_check_status $file $? | tee -a $LOGDIR/cfagent.log

I propose to replace this with
116:        ./$file -qKI -D${cfclasses} >> $LOGDIR/cfagent.log 2>&1
without the -k parameter.

Regards,
Andy Van Maele


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to