Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| pub:wpkg [2014/01/13 09:51] – angelegt Marco Krage | pub:wpkg [2014/01/13 13:03] (aktuell) – Marco Krage | ||
|---|---|---|---|
| Zeile 9: | Zeile 9: | ||
| - | ==== host.xml ==== | + | ===== host.xml |
| In dieser Datei werden Hosts einem Profil zugeordnet. Der Host kann über verschiedene Attribute erfasst werden. Darunter " | In dieser Datei werden Hosts einem Profil zugeordnet. Der Host kann über verschiedene Attribute erfasst werden. Darunter " | ||
| Windows XP und Windows 7 ein Profil Names " | Windows XP und Windows 7 ein Profil Names " | ||
| - | | + | <code xml><host os=" |
| - | <host os=" | + | <code xml><host os=" |
| | | ||
| Windows XP dem Profil " | Windows XP dem Profil " | ||
| - | | + | <code xml><host os=" |
| - | Würden wir die Software im base Profil hinterlegen | + | Würden wir die Software im base Profil hinterlegen, würden auch Computer mit Windows 7 die Software easy-transfer zugewiesen bekommen. |
| AD Gruppe sw-adobe-flash zu Profil adobe-flash zuweisen | AD Gruppe sw-adobe-flash zu Profil adobe-flash zuweisen | ||
| - | | + | <code xml><host groups=" |
| - | ==== profiles.xml ==== | + | ===== profiles.xml |
| In dieser Datei wird einem Profil ein oder mehrere (Software-)Packages zugewiesen. | In dieser Datei wird einem Profil ein oder mehrere (Software-)Packages zugewiesen. | ||
| + | Durch Abhängigkeiten (depends) wird jedem Profil das " | ||
| - | <profile id=" | + | Dieses Profil beinhaltet nur eine Variable die über " |
| + | <code xml><profile id=" | ||
| < | < | ||
| - | </ | + | </ |
| - | + | Dieses Profil beinhaltet mehrere Packages. In der '' | |
| - | <profile id=" | + | <code xml><profile id=" |
| <depends profile-id=" | <depends profile-id=" | ||
| - | <package package-id=" | ||
| - | <package package-id=" | ||
| - | <package package-id=" | ||
| - | <package package-id=" | ||
| - | <package package-id=" | ||
| - | <package package-id=" | ||
| - | <package package-id=" | ||
| - | <package package-id=" | ||
| - | <package package-id=" | ||
| - | <package package-id=" | ||
| - | <package package-id=" | ||
| <package package-id=" | <package package-id=" | ||
| <package package-id=" | <package package-id=" | ||
| - | | + | </ |
| - | </ | + | |
| + | Beispiel für eine einzelne Software | ||
| + | <code xml>< | ||
| + | <depends profile-id=" | ||
| + | | ||
| + | </ | ||
| + | |||
| + | ===== packages.xml ===== | ||
| + | In dieser Datei werden die Softwareinstallationen definiert. Ein beispiel Package: | ||
| + | <code xml> | ||
| + | < | ||
| + | id=" | ||
| + | name=" | ||
| + | revision=" | ||
| + | reboot=" | ||
| + | priority=" | ||
| + | |||
| + | < | ||
| + | |||
| + | <check type=" | ||
| + | |||
| + | <install cmd=' | ||
| + | |||
| + | <upgrade include=" | ||
| + | |||
| + | <remove cmd=' | ||
| + | |||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ===== wpkg.js ===== | ||
| + | Diese Datei beinhaltet die Logik und ist die einzige aktive Komponente. | ||
| + | |||
| + | Alle Packages entsprechend der zugeordneten Profile ausführen | ||
| + | <code dos> | ||
| + | |||
| + | Ein bestimmtes Package ausführen | ||
| + | <code dos> | ||