Thanks, I am looking at it. It look like the latest version has integrated this module. So you can add one line and after that simply do a "action=install". I did not try it yet, but I am getting there J http://www.cfengine.org/docs/cfengine-Reference.html#PortageInstallComma nd Thanks for the hint. Alexandre Racine alexandre.racine@mhicc.org 514-461-1300 poste 3304 From: Daniel van Ham Colchete [mailto:daniel.colchete@gmail.com] Sent: 14 juillet 2008 12:46 To: gentoo-cluster@lists.gentoo.org Subject: Re: [gentoo-cluster] cfengine with emerge... Alexandre, I'm using cfengine with it. There is a module called "cfportage" (it's at /var/cfengine/modules) that will define a class if you don't have a package installed or if you have an older version. If the class defined I'll do a shell command to install it. I'm also using catalyst to automate the building, I also have a standard Gentoo replicas on all my servers. I just all my servers last week (new catalyst build), so I lost my cfengine scripts. Otherwise I would post them here. If you find a better way of doing it (like installing without a shell script) please let me know. Best, Daniel On Mon, Jul 14, 2008 at 11:51 AM, Alexandre Racine wrote: Hi all, Is there someone here that use cfengine with emerge? The idea would be to put a new machine in place, run cfengine and all programs would be emerge just like all the other machines. But how would you do it to test if the program is installed? The worst thing I can think of is to "eix program | grep program | grep installed or not" and I don't want that J Have a nice day. Alexandre Racine alexandre.racine@mhicc.org 514-461-1300 poste 3304