Forum: Cfengine Help
Subject: Re: Logic headache
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,18232,18235#msg-18235

Seva Gluschenko Wrote:
-------------------------------------------------------
> first two expressions aren't exactly equivalent.
> !Sunday.!Morning.!dev_env.!phost is equal to
> !(Sunday|Morning|dev_env|phost).

I don't understand how those can be the same.

> Last expression contains one extra parenthesis
> which makes me thinking that some important part
> of the expression has been omitted, 

This is interesting.  The last parenthesis was in the policy, unmatched, in 
error yet there was no error or warning from Cfengine.  I removed it and the 
expression matches as I would expect.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to