[wpkg-users] Breaking package inheritance
Daniel Dehennin
daniel.dehennin at ac-caen.fr
Fri Dec 17 15:10:41 CET 2010
Falko Trojahn <nospam_ft at smi-softmark.de> writes:
> I'm sorry, but this would just break a lot of things in wpkg, and I
> think there have been discussions about that on the list some time ago.
>
> Just keep it simple:
>
> - Standard Profile
> * all common things here
>
> - Basic Profile, depends on Standard Profile
> * has Acrobat Reader
>
> - Advanced Profile, depends on Standard Profile
> * has Acrobat
>
> Perhaps there could be more fine grained solutions, but this is one
> possible way how to do what you want.
Here we use my patched version[1] of wpkg, for non common applications:
- Basic profile for every host (<host name='.+' />)
- 1 application (or group of application) => 1 profile
- 1 profile => 1 LDAP group[1]
- 1 machine assigned to some groups (<host groups='something' profile-ip='something' />
With the use of /applymultiple we can easily manage which host has which
application.
#v+
<?xml version='1.0' encoding='utf-8'?>
<wpkg>
<!-- Laptops have wifi, so don't disable autoconfig ? -->
<!-- All hosts -->
<host name='.+' profile-id='base'>
</host>
<!--
OS is xp, apply XP specific package (firewall, snetcfg_wxp.exe, ...)
-->
<host os='.+windows xp.+' profile-id='xp' />
<!-- poweroff -->
<host groups='poweroff' profile-id='poweroff' />
<!-- Trend -->
<host groups='trend' profile-id='officescan' />
</wpkg>
#v-
Regards.
Footnotes:
[1] http://bugzilla.wpkg.org/show_bug.cgi?id=118
[2] This work for samba and AD
--
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/20101217/9e79cc08/attachment-0001.sig>
More information about the wpkg-users
mailing list