-
Notifications
You must be signed in to change notification settings - Fork 39
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 #5486 prefix and candlepin url incorrect for rhsm template on dev... #13
fixes #5486 prefix and candlepin url incorrect for rhsm template on dev... #13
Conversation
@@ -1,5 +1,5 @@ | |||
# Katello specific certs settings | |||
class certs::katello { | |||
class certs::katello ($hostname = $fqdn, $deployment_url = nil){ |
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.
Use undef
instead of nil
for puppet.
PREFIX=/<%=scope.lookupvar("katello::params::deployment_url")%>/api | ||
|
||
DEPLOYMENT_URL=<%= @deployment_url %> | ||
PREFIX=/$DEPLOYMENT_URL/api |
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.
Won't this end up with //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.
@ehelms passing katello
in for the @deployment_url
, the prefix gets set as
PREFIX=/katello/api
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.
@dustint-rh sounds like we need to update this line https://github.com/Katello/puppet-katello/blob/master/manifests/params.pp#L12 as part of your puppet-katello PR then.
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.
@ehelms made the change. sorry, I think I understand you now.
Fixes an issues where katello_devel module doesn't populated the prefix and candlepin url for rhsm templates correctly. This is because katello:params isn't available from puppet-katello_devel. * bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=1092474
ACK and merging, @dustint-rh thanks! |
fixes #5486 prefix and candlepin url incorrect for rhsm template on dev...
... install