[Beaker-devel] Simplify inventorying systems in Beaker

Jaroslav Kortus jkortus at redhat.com
Tue May 12 15:41:41 UTC 2015



On 05/07/2015 12:51 AM, Dan Callaghan wrote:
> Excerpts from Matt Jia's message of 2015-05-07 08:38 +10:00:
>>
>>> ----- Original Message -----
>>>> From: "Dan Callaghan" <dcallagh at redhat.com>
>>>> To: "beaker-devel" <beaker-devel at lists.fedorahosted.org>
>>>> Sent: Wednesday, May 6, 2015 3:48:16 PM
>>>> Subject: Re: [Beaker-devel] Simplify inventorying systems in Beaker
>>>>
>>>> Excerpts from Nick Coghlan's message of 2015-05-06 15:40 +10:00:
>>>>> Could we pull the list of preferred inventory distros from a
>>>>> configuration file rather than hardcoding it? That should be easier to
>>>>> update when Fedora versions cycle, and also provides a way for instance
>>>>> administrators to replace the default list with a different one.
>>>>
>>
>> Would be even better to store this into the db as people can change it via Web UI?
>
> Storing this in the db is overkill, the only reason we need a "preferred
> list of distro families" at all is because we still haven't finished the
> migration to lshw. Once that is done, the choice of distro becomes
> basically irrelevant because lshw should be giving us the same info
> everywhere. This is only a stop-gap while we have smolt on RHEL5/6 and
> lshw elsewhere.
>

What about tagging the distros in beaker and use them for inventory based on these tags?
Something like inventory_prio1, inventory_prio2,...

That's both WebUI and CLI friendly and does not require any config changes.

Cheers,
Jaroslav.



More information about the Beaker-devel mailing list