Changes

Jump to: navigation, search

Profiles.xml

524 bytes added, 13:06, 25 June 2005
profiles.xml structure
<blockquote style="background: white; border: 1px solid black; padding: 1em;">
<profiles><br><br>
<profile id="'''default'''"><br> <package package-id="'''acrobat'''" /><br> <package package-id="'''firefox'''" /><br>
</profile><br><br>
<profile id="'''custom'''"><br> <depends profile-id="'''default'''" /><br> <package package-id="'''thunderbird'''" /><br>
</profile><br><br>
</profiles><br>
</blockquote>
Which means, that if a host, defined in [[hosts.xml]] has a profile '''default'''(the first profile above), it will have '''acrobat''' and '''firefox''' installed - because '''profile id="default"''' contains these two packages. 
Now take a look at '''<depends profile-id="default" />''' entry in the next profile - '''<profile id="custom">'''.
This profile only seems to contain a '''thunderbird''' package.
But because it ''depends'' on '''<profile id="default">''', which contains two more packages ('''acrobat''' and '''firefox''') - it all sums up, and in the end, a host with a profile '''custom''' will have three packages installed: '''acrobat''', '''firefox''' and '''thunderbird'''.
==See also==
Anonymous user

Navigation menu