help-cfengine
[Top][All Lists]
Advanced

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

Class definitions - is "_" (underscore) an operator?


From: Jon-Finngard Moe
Subject: Class definitions - is "_" (underscore) an operator?
Date: Tue, 29 Nov 2005 20:17:07 +0100
User-agent: Mutt/1.4.2.1i

i experience some problems when defining the following classes:


<snip from cf.customers>

        customer = (
                IPRange(somerange/24)
        )

        customer_location = (
                IPRange(anotherrange/24)
        )

</snip>

The actions defined for "customer" works fine.

But for the "customer_location" cfengine also defines the hosts in 
"anotherrange" as members of the class 
"customer" in addition to "customer_location". This again results in cfengine 
invoking the actions defined for both classes.

Is this intended behavior? I could not find any documentation that indicates 
that 
"_" (underscore) works as an operator which expands for example 
"customer_location" into two classes. 

I am using cfengine 2.1.17 on the system. 

-- 

Jon-Finngard Moe                   Email: finngard@mnemonic.no
mnemonic AS, Wergelandsveien 25         Mob  : +47 98 64 58 62
N-0167 Oslo, Norway                     Tlf  : +47 23 20 47 45 
                                        Fax  : +47 23 20 47 01
PGP key EEAADBBA available from pgp.mit.edu

Attachment: pgpt0fVntqIW3.pgp
Description: PGP signature


reply via email to

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