Which class gets applied first?

Michael Tautschnig mt at debian.org
Fri Nov 28 17:41:03 CET 2008


> Thomas Lange wrote:
>>>>>>> On Wed, 26 Nov 2008 09:56:56 -0500, Ryan Steele <ryans at aweber.com> said:
>>>>>>>
>>>>>>> In a situation where the FAI client uses several classes that 
>>>>>>> have package_config files, are all the applicable 
>>>>>>> package_config/ files processed in a certain order, or at the 
>>>>>>> same time?  In other words, are they processed based on the 
>>>>>>> lexical ordering of their names (e.g. CLASSA comes before 
>>>>>>> CLASSZ, CLASS1 comes before CLASS2, etc.), or some other  
>>>>>>> criteria?
>>>>>>>
>>>>>>>             
>>
>> All package names from both classes are combined to a long list.
>
> And in the same vein, what about custom scripts?  E.g., if you have:
>
>
> CLASS1/80-ssh
> CLASS2/80-ssh
>
>
> ... are they run in lexical order (e.g., CLASS1's 80-ssh gets run  
> first), or ...?  Obviously, you can't concatenate these, as the  
> interpreter could differ from script to script.
>

I was pretty sure that this is documented, but apparently this is not the case,
neither the FAI guide nor fai-do-scripts(1) tells you about this. Thomas, did I
miss a point where this _is_ documented?

Either way: The order of classes defines the order of execution, that is:

- DEFAULT is first
- LAST is last
- in between go your classes in the order defined.

Best,
Michael





-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20081128/7b662089/attachment.bin 


More information about the linux-fai mailing list