Bug 817795

Summary: Kickstart template preview
Product: [Retired] Beaker Reporter: Dan Callaghan <dcallagh>
Component: schedulerAssignee: beaker-dev-list
Status: CLOSED EOL QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.9CC: bpeck, lockhart, mastyk, rbiba, stl, tools-bugs
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: UX
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 986177 (view as bug list) Environment:
Last Closed: 2020-04-21 08:45:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dan Callaghan 2012-05-01 10:30:16 UTC
It would be nice if we had some kind of "dry run" page for previewing kickstart templates. It would accept a template and return the rendered version back to the user (without storing it or anything). Users could test their custom kickstarts. Admins could test their snippets.

I'm picturing a big textarea containing the template on one half of the page, and a live(ish?) preview of the resulting kickstart beside it.

Comment 1 Nick Coghlan 2012-10-17 04:38:16 UTC
Bulk reassignment of issues as Bill has moved to another team.

Comment 3 Dan Callaghan 2013-07-19 01:10:17 UTC
Implementing this as a command-line tool (to be run on the Beaker server) would certainly be much easier than building a web interface for it. The tool could just accept a path to the experimental templates, which would override the real templates (it can just be smooshed onto the start of the ChoiceLoader on template_env).

Comment 4 Dan Callaghan 2013-07-19 01:11:02 UTC
(In reply to Dan Callaghan from comment #3)

... but note that that only address half this RFE (the admin side of things), it doesn't help ordinary users who want to test out custom kickstart templates.

Comment 5 John W. Lockhart 2013-07-19 01:23:18 UTC
Some form of REST/xmlrpc call, on the other hand, would work for some of the ordinary users as well -- presumably with some form of authentication.  A web UI, while nice for casual use, wouldn't be as convenient for diffs and other work to fix up a troublesome template.

Comment 6 Dan Callaghan 2013-07-19 06:55:10 UTC
This command-line template debugging tool is a great idea, but it's pretty far from what I was originally imagining for this RFE. So I've cloned it as bug 986177 and proposed it for Beaker 0.15.

Comment 8 Martin Styk 2020-04-21 08:45:12 UTC
Closing this issue.
We are not planning to address this problem in the Beaker development lifecycle.

Instead of that, we are planning to continue our effort in building Beaker.NEXT.
If you have any questions, feel free to reach out to me.

Best regards,
Martin Styk