[wpkg-users] New condition not working as expected
Stefan Pendl
stefan.pendl.71 at gmail.com
Sun Oct 23 01:58:35 CEST 2011
Hi Rainer,
I have a question about the new conditions.
The following gives the desired result, where hosts not named "Satellite" and not Win2k receive that package.
<condition>
<check type="logical" condition="not">
<check type="host" condition="hostname" value="SATELLITE"/>
</check>
<check type="logical" condition="not">
<check type="host" condition="os" value="5\.0\.\d{4}"/>
</check>
</condition>
Now I think that the following simpler construct should give the same result, but it does not.
<condition>
<check type="logical" condition="not">
<check type="host" condition="hostname" value="SATELLITE"/>
<check type="host" condition="os" value="5\.0\.\d{4}"/>
</check>
</condition>
What do you think?
---
Stefan
More information about the wpkg-users
mailing list