[wpkg-users] several hosts (by mask) with several profiles

Daniel Dehennin daniel.dehennin at ac-caen.fr
Fri Feb 4 10:44:43 CET 2011


Alexey <alexey.dubovsky at gmail.com> writes:

> To warn against attempts to send me to read about regular expressions and
> article "Several profiles for one host" (  http://wpkg.org/Hosts.xml ) I
> note the following points:
>
> The system selects the first matching profile and stops processing other
> profiles.
>  For example, the computer MOW-SAL-01 executed only MoscowProfile.
>
> <host name="MOW-.*" profile-id="MoscowProfile" />
> <host name="BER-.*" profile-id="BerlinProfile" />
> <host name="NYK-.*" profile-id="NewYorkProfile" />
> <host name=".*-SAL-.*" profile-id="SalesApps" />
> <host name=".*-ACC-.*" profile-id="AccountingApps" />
> <host name=".*-CST-.*" profile-id="CustomerorwhatevverApps" />
>
> On the example shown , will work out only the profiles of cities, and to
> profile the functionality of the system will not come.

That's the point of /applymultiple[1] which is not yet integrated in
mainline ;-)

We used it here for ~2500 machines, it works great.

Footnotes: 
[1]  http://bugzilla.wpkg.org/show_bug.cgi?id=118

-- 
Daniel Dehennin
RAIP de l'Orne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20110204/57c0b245/attachment-0001.sig>


More information about the wpkg-users mailing list