help-cfengine
[Top][All Lists]
Advanced

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

Problem using packages: or NOT operator?


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

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"



Any ideas on this behavior?

Thanks,
John

-- 
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]