public inbox for gentoo-cluster@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-cluster] cfengine with emerge...
@ 2008-07-14 14:51 Alexandre Racine
  2008-07-14 16:36 ` Eric Thibodeau
  2008-07-14 16:46 ` Daniel van Ham Colchete
  0 siblings, 2 replies; 4+ messages in thread
From: Alexandre Racine @ 2008-07-14 14:51 UTC (permalink / raw
  To: gentoo-cluster

[-- Attachment #1: Type: text/plain, Size: 498 bytes --]

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

 


[-- Attachment #2: Type: text/html, Size: 4611 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-cluster] cfengine with emerge...
  2008-07-14 14:51 [gentoo-cluster] cfengine with emerge Alexandre Racine
@ 2008-07-14 16:36 ` Eric Thibodeau
  2008-07-14 16:46 ` Daniel van Ham Colchete
  1 sibling, 0 replies; 4+ messages in thread
From: Eric Thibodeau @ 2008-07-14 16:36 UTC (permalink / raw
  To: gentoo-cluster

[-- Attachment #1: Type: text/plain, Size: 1515 bytes --]


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

[-- Attachment #2: Type: text/html, Size: 4228 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-cluster] cfengine with emerge...
  2008-07-14 14:51 [gentoo-cluster] cfengine with emerge Alexandre Racine
  2008-07-14 16:36 ` Eric Thibodeau
@ 2008-07-14 16:46 ` Daniel van Ham Colchete
  2008-07-15 16:53   ` Alexandre Racine
  1 sibling, 1 reply; 4+ messages in thread
From: Daniel van Ham Colchete @ 2008-07-14 16:46 UTC (permalink / raw
  To: gentoo-cluster

[-- Attachment #1: Type: text/plain, Size: 1201 bytes --]

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@mhicc.org> 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
>
>
>

[-- Attachment #2: Type: text/html, Size: 1991 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [gentoo-cluster] cfengine with emerge...
  2008-07-14 16:46 ` Daniel van Ham Colchete
@ 2008-07-15 16:53   ` Alexandre Racine
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Racine @ 2008-07-15 16:53 UTC (permalink / raw
  To: gentoo-cluster

[-- Attachment #1: Type: text/plain, Size: 1826 bytes --]

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
<Alexandre.Racine@mhicc.org> 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

 

 


[-- Attachment #2: Type: text/html, Size: 8356 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-07-15 16:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-14 14:51 [gentoo-cluster] cfengine with emerge Alexandre Racine
2008-07-14 16:36 ` Eric Thibodeau
2008-07-14 16:46 ` Daniel van Ham Colchete
2008-07-15 16:53   ` Alexandre Racine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox