-
Notifications
You must be signed in to change notification settings - Fork 134
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 #30507: Use enabled hook helpers for Katello and Foreman #546
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ def mark_for_update(cert_name, hostname = nil) | |
cert_file = param('certs', 'server_cert').value | ||
key_file = param('certs', 'server_key').value | ||
|
||
if app_value('certs_update_server_ca') && !module_enabled?('katello') | ||
if app_value('certs_update_server_ca') && !katello_enabled? | ||
fail_and_exit("--certs-update-server-ca needs to be used with katello", 101) | ||
end | ||
Comment on lines
+21
to
23
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This part should really be a It should also check if the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. File an issue if you don't mind, touching our certs code requires a Friday :P |
||
|
||
|
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.
On an unrelated note: I think this check itself should ensure JDK 1.8 is used since 1.7 is too old.