Red Hat Bugzilla – Bug 966348
Document models exposed to admin kickstart templates
Last modified: 2015-04-19 22:22:43 EDT
The admin docs for writing kickstart templates  mention several Beaker object models: "The system, distro, distro_tree, user, and recipe variables are the corresponding Beaker model objects loaded from the database."
Those models aren't actually documented anywhere at the moment. Some of the key attributes and methods that may be useful for writing custom templates (like distro_tree.url_in_lab) should be described in this section.
Other things that aren't currently covered are the differences between the rendering environments for server side kickstart templates and snippets and those provided in the job XML as part of the recipe definition, as well as the assorted utility functions and modules injected into the rendering context.
For now, rendering details can be found here (for those that are willing to dig into the source code):
And the default server side templates and snippets can serve as examples:
For now I have just documented the attributes that are actually used by our existing templates/snippets, under the assumption that those are the main useful ones. In reality, admin templates still have full access to the raw model objects which may come in handy.
The updates docs are published at:
See comment 2 above for the patch.
Beaker 20.0 has been released.