[wpkg-users] Strange behaviour when selecting hosts
Lukasz Zalewski
lukas at dcs.qmul.ac.uk
Tue Aug 18 15:32:34 CEST 2009
Hi!
I have the following hosts.xml file:
<host name="ityyy|itzzz" profile-id="allaccess" />
<host name="it14[789]" profile-id="ITLtop" />
<host name="it1[56789][123456789]" profile-id="ITLtop" />
<host name="it2[123456789][123456789]" profile-id="ITLtop" />
<host name="it07[89]" profile-id="ITLmiddle" />
<host name="it1[123][123456789]" profile-id="ITLmiddle" />
<host name="it14[123456]" profile-id="ITLmiddle" />
<host name="138.37.94.+" profile-id="student" />
when the script is run on ityyy student profile is always selected
(match is found on 138.37.94.+). As the documentation states that the
hosts are processed top to bottom (with the exeptions of non reg
expressions) the allaccess would be found and used first.
However if i use the single host syntax for all access
<host name="ityyy" profile-id="allaccess" />
allaccess is selected correctly.
I'm using version 1.1.1
Many Thanks
Luk
More information about the wpkg-users
mailing list