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 <
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@...
514-461-1300 poste 3304