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 > eix isn't bad and it's the fastest I know. I don't use cfengine so I can't tell you if there are adverse effects to using it with portage. You're maybe just not calling eix in the right way tog et the info you want, here are a few examples: *kyron linux-2.6.26-rc5-mm3 # eix -Ic c3 *No matches found.* kyron linux-2.6.26-rc5-mm3 # eix -Ic portage* [I] app-portage/portage-utils (0.1.29@04/13/2008): small and fast portage helper tools written in C [I] sys-apps/portage (2.1.4.4@06/11/2008): Portage is the package management and distribution system for Gentoo Found 2 matches. *kyron linux-2.6.26-rc5-mm3 # eix -Ic sys-apps/portage* [I] sys-apps/portage (2.1.4.4@06/11/2008): Portage is the package management and distribution system for Gentoo > > > > Have a nice day. > > > > > > Alexandre Racine > > alexandre.racine@mhicc.org > > 514-461-1300 poste 3304 > > > PS: ptêtre que mon projet pourraît t'intéresser: http://soc.gentooexperimental.org/projects/show/gentoo-cluster-seed ;) Eric Thibodeau 514-736-1436