[wpkg-users] multiple entries for a host in hosts.xml
chris-2012 at arcor.de
Wed Nov 28 18:25:53 CET 2012
is it possible to make a host use several profiles like this?
<host ipaddresses="^192\.168\.1\.[0-9]+$" profile-id="common-software" />
<host ipaddresses="192\.168\.1\.12" profile-id="javaprofile" />
Does order of the host entries matter?
I don't understand
> Normally, hosts are parsed from top to the bottom, except when the
> hostname is not a regular expression. So host "bronek1" will match
> "profile1", even though it also matches "b.+" and "bron.+" (which are
> regular expressions).
( from http://wpkg.org/Regular_expression_support )
Does this mean the first match wins and the others are ignored?
Is there any way to define host groups and to assign programs (or
profiles) to individual hosts at the same time?
More information about the wpkg-users