-
Notifications
You must be signed in to change notification settings - Fork 991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #30441 - Global Registration Template API endpoint #7839
Conversation
Issues: #30441 |
app/views/unattended/provisioning_templates/registration/global_registration.erb
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works great, there's one little improvement I'd suggest, then ready to merge
66c06e3
to
4dfa98e
Compare
Rebased & updated |
[test katello] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack, waiting for katello tests
Katello test failures unrelated, I see the same in Katello PRs. Thanks @stejskalleos, merging! |
if @provisioning_template | ||
render plain: @provisioning_template.render.html_safe | ||
else | ||
render plain: _('Global Registration Template with name %s defined via default_global_registration_item Setting not found, please configure the existing template name first') % Setting[:default_global_registration_item], status: :not_found |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just an idea, this could have been a shell comment, so when it gets executed it does not print errors.
PR is part of Simple & automatic host registration WF, see:
Features:
/provisioning_templates/global_registration