Re: cfagent didn't copy with FAI
Hello, just for completion of this mailing thread - and as information for Julien Combes: the reason was not an error in the cfengine script, but a setting in /bin/fai-do-scripts (line 116) which executed cfagent with parameter -k, preventing the files being copied. After removing this parameter k, the cfagent script worked as expected. This is reported in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=425699 regards, Andy Van Maele It's already in the any section of cfagent: copy: any:: Do you also have the any:: class in the control section? This is new in cfengine2. Have a look at the examples of FAI 3.1.8. !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN PLEASE. NO HTML MAILS!!!
Re: cfagent didn't copy with FAI
Hello, Le 21.05.2007 18:52, Thomas Lange a écrit : On Mon, 21 May 2007 18:39:25 +0200, Andy Van Maele [EMAIL PROTECTED] said: But now, when performing an installation, for a strange reason cfagent just ignores the copy section. When I stopped the FAI install just Mmm. The best would be to come into IRC #fai on oftc and we will try to solve the problem online. Did you use cfengine 1 or 2 with sarge? Any error/log messages? I had got the same problem some days ago. I had a cfengine script which was works well with FAI under Sarge and cfengine 1.6 and don't copy with FAI under Etch and cfengine 2.1. There was no error/log messages. If I logged on on the server at the end of the installation before rebooting, and I launched the cfengine script manually with the classes detected by FAI, it was working well. After some hours, as it was urgent to solve this problem, I have finally moved this copy on a shell script... Regards, Julien
Re: cfagent didn't copy with FAI
On Mon, 21 May 2007 18:39:25 +0200, Andy Van Maele [EMAIL PROTECTED] said: But now, when performing an installation, for a strange reason cfagent just ignores the copy section. When I stopped the FAI install just Mmm. The best would be to come into IRC #fai on oftc and we will try to solve the problem online. Did you use cfengine 1 or 2 with sarge? Any error/log messages? Would anyone have a hint why the manually executed cfagent file does work, and it doesn't when processing it through the FAI install? Maybe a class is not defined. Try to put this code into the any:: section of cfagent. -- regards Thomas