[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Need assistance in determining if an rpm is installed
From: |
Rune Mossige |
Subject: |
Re: Need assistance in determining if an rpm is installed |
Date: |
Wed, 16 Jan 2002 08:34:51 +0100 |
User-agent: |
Mutt/1.2.5i |
On (15/01/02 10:00), Ted Zlatanov wrote:
> Sender: tzz@northernlight.com
> To: Rune Mossige <runemo@stavanger.Geco-Prakla.slb.com>
> Cc: help-cfengine@gnu.org
> Subject: Re: Need assistance in determining if an rpm is installed
> From: Ted Zlatanov <tzz@northernlight.com>
> Organization: ?????? ???????? @
> Cienfuegos
> X-Face:
> bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT=
> D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx"
> Mail-Followup-To: runemo@stavanger.Geco-Prakla.slb.com, help-cfengine@gnu.org
> Date: Tue, 15 Jan 2002 10:00:43 -0500
> Lines: 24
> User-Agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.1
> (i386-redhat-linux-gnu)
>
> Rune Mossige <runemo@stavanger.Geco-Prakla.slb.com> writes:
>
> > I am working on a stock RedHat 7.2 system, and I would like to set up a
> > section that will check if some specific RPM's installed. And, if they
> > are not there, the I want to install them. I am using 2.0.a15.
>
> In my experience the shell escapes (as of 1.6.3) are not very
> productive for defining classes in all but the simplest cases.
> Perhaps this has changed in 2.0.
>
> You are asking for something pretty specific, though. Why not make a
> module that does all the hard work separately from cfengine? The
> module can be a shell or Perl or C (or whatever else) program. You
> just print out "+ClassName" to standard output for every class you
> want to define. I don't think you have to predeclare each class, but
> I may be wrong.
>
> If you are interested in this, but can't write that module, I'll look
> into it. It sounds useful enough that many of us on this list would
> want to use it. A version for the Sun packages and other platforms
> would be nice too. Let us know.
That sounds like a useful module to have. As I have never written such
modules, this might be just the right opportunity to learn something
new...Until I get time to start that task, I will continue to just
install it via shellcommands.
>
> Thanks
> Ted
>
--
-------------------------------------------------------------------
(-: Hiroshima 45, Chernobyl 86, Windows 95 :-)
Our ultimate goal is to make overloaded systems appear to be idle.
High performance, High reliability, Low cost -------- Pick any two.
-------------------------------------------------------------------
Rune Mossige, Systems Support Engineer, WesternGeco, Stavanger
Tel: (+47)51946869 Mobile:(+47)90871024
Re: Need assistance in determining if an rpm is installed, Alexander Mattausch, 2002/01/15
Re: Need assistance in determining if an rpm is installed, Ted Zlatanov, 2002/01/15
- Re: Need assistance in determining if an rpm is installed,
Rune Mossige <=