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

Hei - I not sure I understand what you are suggesting. I just tested your
example and it seems to work okay. Certainly customer_location is not
split into customer and location. My guess is that the IP ranges overlap
somehow.

Mark



_______________________________________________
Help-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to