Which class gets applied first?

2008-11-24 Thread Ryan Steele
Preface: using version 3.2.14 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 nam

Re: Which class gets applied first?

2008-11-25 Thread Ingo Wichmann
Ryan Steele schrieb: 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? As a more concrete example, if I have this in m

Re: Which class gets applied first?

2008-11-25 Thread Ryan Steele
Ingo Wichmann wrote: Ryan Steele schrieb: 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? As a more concrete exampl

Re: Which class gets applied first?

2008-11-25 Thread Thomas Neumann
Ryan Steele schrieb: Ingo Wichmann wrote: Ryan Steele schrieb: 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? As a

Re: Which class gets applied first?

2008-11-25 Thread Thomas Lange
> On Mon, 24 Nov 2008 16:15:38 -0500, Ryan Steele <[EMAIL PROTECTED]> said: > Preface: using version 3.2.14 > 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

Re: Which class gets applied first?

2008-11-25 Thread Ryan Steele
Thomas Lange wrote: On Mon, 24 Nov 2008 16:15:38 -0500, Ryan Steele <[EMAIL PROTECTED]> said: > Preface: using version 3.2.14 > In a situation where the FAI client uses several classes that have > package_config files, are all the applicable package_config/ files

Re: Which class gets applied first?

2008-11-25 Thread Thomas Neumann
(Seems I was wrong. Well you learn something new every day. =) ) Ryan Steele schrieb: package_config/CLASS2: PACKAGES aptitude INSTALL_FIRST locales belocs-locales-bin util-linux-locales PACKAGES aptitude package-that-depends-on-locales-being-set otherpackages-that-depends-on-locales-being-set

Re: Which class gets applied first?

2008-11-26 Thread Thomas Lange
> On Tue, 25 Nov 2008 11:56:03 -0500, Ryan Steele <[EMAIL PROTECTED]> said: > at the package level. E.g., I could have an option to specify a list of > packages that should be installed before the rest and in the order that > they are specified, but don't necessarily (or logical

Re: Which class gets applied first?

2008-11-26 Thread Ryan Steele
Thomas Lange wrote: On Tue, 25 Nov 2008 11:56:03 -0500, Ryan Steele <[EMAIL PROTECTED]> said: > at the package level. E.g., I could have an option to specify a list of > packages that should be installed before the rest and in the order that > they are specified, but

Re: Which class gets applied first?

2008-11-26 Thread Thomas Lange
> On Wed, 26 Nov 2008 09:56:56 -0500, Ryan Steele <[EMAIL PROTECTED]> said: > Well, the packages might not always handle the order. Using the locale > example again, a package might not 'require' locales to be configured, > if it can use 'POSIX' or 'C' - how is the package to kn

Re: Which class gets applied first?

2008-11-26 Thread Ryan Steele
Thomas Lange wrote: On Wed, 26 Nov 2008 09:56:56 -0500, Ryan Steele <[EMAIL PROTECTED]> said: > Well, the packages might not always handle the order. Using the locale > example again, a package might not 'require' locales to be configured, > if it can use 'POSIX' or

Re: Which class gets applied first?

2008-11-28 Thread Ryan Steele
Thomas Lange wrote: On Wed, 26 Nov 2008 09:56:56 -0500, Ryan Steele <[EMAIL PROTECTED]> 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

Re: Which class gets applied first?

2008-11-28 Thread Michael Tautschnig
> Thomas Lange wrote: >>> On Wed, 26 Nov 2008 09:56:56 -0500, Ryan Steele <[EMAIL PROTECTED]> >>> 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 cer

Re: Which class gets applied first?

2008-11-28 Thread Ryan Steele
Michael Tautschnig wrote: Thomas Lange wrote: On Wed, 26 Nov 2008 09:56:56 -0500, Ryan Steele <[EMAIL PROTECTED]> 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 a

Re: Which class gets applied first?

2008-11-28 Thread Thomas Lange
> On Fri, 28 Nov 2008 11:47:43 -0500, Ryan Steele <[EMAIL PROTECTED]> said: > Forgive me for asking what is potentially an obvious question, but do > you mean the order defined in 50-host-classes? So, if I have: > echo "CLASS2 CLASS1" ;; > ...in my 50-host-classes, CLASS2/8

Re: Which class gets applied first?

2008-11-29 Thread Michael Tautschnig
> > On Fri, 28 Nov 2008 11:47:43 -0500, Ryan Steele <[EMAIL PROTECTED]> > > said: > > > Forgive me for asking what is potentially an obvious question, but do > > you mean the order defined in 50-host-classes? So, if I have: > > > echo "CLASS2 CLASS1" ;; > > > ...in my