Dave Hatton wrote:
Hi all,
I've been thinking of developing a patch to add some form of system tags
to cobbler.
Initially I was thinking of a number of free format fields.
System_Serial_Number
System_Description
System_Owner
System_Location
Maybe there are some more?
I'm sure this information could help to make the web ui more information?
I was thinking that moving onwards, maybe koan could check the stored
serial number against that reported by the system to prevent accidental
overwrites?.
I'm sure there are other possibilities?
Any thought/suggestions?
Dave Hatton
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler
At first glance, this seems like --ksmeta would be a reasonable place to
store these free form attributes.
I'm somewhat adverse to making any command (such as cobbler system edit
--help) have too many options, and they are already growing kind of long.
However I can definitely see value in being able to view that
information when looking at system records.
Perhaps a new --attributes also with hash storage, preceeded with values
set to "" for a few common values, and being able to see these in a
tabular editor/view in the webapp?
However if these are to be usable in kickstart templates (should they
be), it seems like we're essentially doing --ks-meta stuff again. Except
those values have a good change of being accidentally cleared on the
command line (unless edited with --in-place to just change one value
without clearing the rest). This then walks us back in the direction of
making seperate fields for each attribute. I'm not sure.
(Somewhat off-topic -- a better editor for hash values in the webapp
would be a nice thing to have).
--Michael