Hallo Michael! Yes, im sure squid is successful installed include running the postinst script. The Part which I did not posted works successful with cfengine. I replace strings in the squid.conf with ReplaceAll. Like: ReplaceAll "^\# http\_port 3128" With "http_port 8080"
In the last days i try to setup cgengine2 to resolve the problem. but cfengine2 wont not successful install with fai or after the first reboot. i use this to install cfengine correctly, but not beautiful but works: apt-get install cfengine2 agt-get remove cfengine2 apt-get install cfengine2 <- now dpkg starts to configure cfengine ! Thanks Martin >-----Ursprungliche Nachricht----- >Von: Michael Tautschnig [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 7. Juni 2006 21:44 >An: Martin Muller >Cc: linux-fai@rrz.uni-koeln.de >Betreff: Re: cfengine error during fai-based install > > >Hi Martin, > >AFAIK nobody has replied to your post to date - sorry... > >> i a newbie in debian, fai and cfengine (formely suse, >without wonderful fai and cfengine) and need now some hint to >resolve this problem. >> >[...] >> >> Whats wrong ??? >> >> Install anyone cfengine2 with fai? the pre or post >config-script gets an sed-editor error and the debconf >settings will not correct apply. >> > >If got no idea about cfengine2, but it should AFAIK work. >However, personally I'd suggest >you simply use sed/perl instead of cfengine... > >But back to your question: Are you sure, squid has been >installed and configured >completely before your cfengine script is run for the first >time? Note, that >/etc/squid/squid.conf is copied by squid's postinst script and >thus it might >have been completely missing upon the first attempt to run cfengine!? > >Just a wild guess, >Michael > >