Difference between revisions of "Profiles.xml"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
Line 16: Line 16:
 
<profiles><br>
 
<profiles><br>
 
     <profile id="default"><br>
 
     <profile id="default"><br>
 +
      <package package-id="wpkg1" /><br>
 +
    </profile><br>
 +
    <profile id="custom"><br>
 +
      <depends profile-id="default" /><br>
 
       <package package-id="wpkg1" /><br>
 
       <package package-id="wpkg1" /><br>
 
     </profile><br>
 
     </profile><br>

Revision as of 12:52, 25 June 2005

profiles.xml is a file which defines the software packages, which will be installed on hosts.

This file has to be placed in the same direstory as wpkg.js.

WPKG will not work without this file.

Hosts are defined in hosts.xml file.
Packages are defined in packages.xml file.


profiles.xml structure

The structure of profiles.xml is as follows:

<profiles>
<profile id="default">
<package package-id="wpkg1" />
</profile>
<profile id="custom">
<depends profile-id="default" />
<package package-id="wpkg1" />
</profile>
</profiles>

See also