petermity <6t12-n6js(a)dea.spamcon.org> wrote:
Scott Henson <shenson(a)redhat.com> wrote:
>On Wed, 2 Mar 2011 08:15:32 -0500, Jonathan Sabo <jsabo(a)criminal.org> wrote:
>> On Wed, Mar 2, 2011 at 7:58 AM, Jonathan Sabo <jsabo(a)criminal.org> wrote:
>> > It's clearly not intended to be restricted to just Cobbler developers
>> > and maintainers. It's not hidden from the user at all and there are
>> > some things in Cobbler that are indeed kept from the users. The
>> > comments field is not one of them. In fact it's made available for
>> > user's to enter information (notes, descriptions, comments) through
>> > out the entire hierarchy of the objects in the Web UI, cli, and api.
>> >
>>
>> When you say users you mean people looking at a pxe menu don't you and
>> not people using the Cobbler Web UI or cli? Those would be your
>> "maintainers"? I can understand wanting the comments field all for
>> yourself and a separate one in that case but I also don't think we
>> should have lots of fields with an overlapping purpose.
>
>Yeah, duplication would be my problem as well. The thing is, that once
>the comment is exposed in the pxe template, you can process it in
>whatever way you see fit. So if you want to have some complex string
>data type in there that python/cheetah can parse and then extract the
>description, that would work.
>
>Having said the above, we have talked in the past about a misc
>field. Something that could contain a python/json dictionary and allow
>the user to stuff whatever they want in there. I'd be fine adding
>something like this in to make the above easier to do.
I don't think that a "misc" field would work for this particular
case, because Cobbler handles the creation of the PXE boot menu,
so it has to do the processing.
I submitted an enhancement issue for menu descriptions:
https://fedorahosted.org/cobbler/ticket/654
I learned today of another PXE menu feature (menu.c32) that
Cobbler could take advantage of, along these same lines. You can
define a multi-line description via TEXT HELP ... ENDTEXT in a
LABEL section, showing the description at the bottom of the
screen when you select that entry. Ideally there would be a
Cobbler variable that could be set for each profile etc. that
would do this.
Although the above paragraph didn't trigger any discussion yet, I
submitted an enhancement issue for it as well:
https://fedorahosted.org/cobbler/ticket/655#preview