[wpkg-users] How can I ignore non-existent profiles

Carl van Eijk carl.vaneijk+wpkg at gmail.com
Fri May 25 16:16:51 CEST 2012


Hi,

I've noticed that application of all profiles fail if there is a reference
to just one non existent profile.

Example configs:

Hosts.xml

<?xml version="1.0" encoding="UTF-8"?>
<wpkg>
<host name="wbl00379" profile-id="root">
 <profile id="wbl_uk_computers" />
<profile id="test" />
 <profile id="wbl00379" />
</host>
</wpkg>

profiles.xml

<?xml version="1.0" encoding="UTF-8"?>
<profiles:profiles xmlns:profiles="http://www.wpkg.org/profiles"
 xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://www.wpkg.org/profiles xsd/profiles.xsd ">

<profile id="test">
<package package-id="dia" />
<package package-id="killOffice2003" />
 <package package-id="WBLCustomOffice2010" />
</profile>
</profiles:profiles>

Even though neither "wbl_uk_computers" nor "wbl00379" exist, I still want
"test" to apply.

How do I go about this?

Not necessarily relevant; but a little more background...

I've written a vbscript that generates the hosts.xml with the profile ids
for each host generated from the active directory group membership.
Managing the configuration by nesting the OUs is not desirable in our case.
If I can ignore non-existent profiles, I can then use wkpg to deploy some
software and still use GPOs


Thanks,
Carl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20120525/0827a404/attachment-0001.html>


More information about the wpkg-users mailing list