help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Problem using packages: or NOT operator?


From: Villalovos, John L
Subject: RE: Problem using packages: or NOT operator?
Date: Thu, 29 Apr 2004 15:57:26 -0700

John Villalovos wrote:
> I started trying to use the packages command.  So I did the following:
> 
> Does NOT work.  Using the Logical NOT operator and define=:
> ----------------------------- packages:
>     redhat::
>         vim-enhanced define=hasVimEnhanced
> 
> shellcommands:
>     # Install vim-enhanced if it is not already installed.     
>             !hasVimEnhanced:: "/usr/sbin/up2date vim-enhanced"
> 
> 
> 
> But this did work using elsedefine= and not using the logical NOT
> operator: -----------------------------------
> packages:
>     redhat::
>         vim-enhanced elsedefine=needVimEnhanced
> 
> shellcommands:
>     # Install vim-enhanced if it is not already installed.     
>             needVimEnhanced:: "/usr/sbin/up2date vim-enhanced"

Well after playing with it some more it seems likes packages: is not
working for me :(

I changed the one that was working to be the package "vim-enhanced2"
(which does NOT exist).  It still ran and did not define the
needVimEnhanced class.

These two functions NEVER get called.  I would think they should get
called but they don't.

CheckPackages()
RPMPackageCheck()


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting
Q: What is the most annoying thing on usenet and in e-mail?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]