Skip to content
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

Merged
merged 1 commit into from
May 15, 2014

Conversation

dustints
Copy link

@dustints dustints commented May 9, 2014

... install

@@ -1,5 +1,5 @@
# Katello specific certs settings
class certs::katello {
class certs::katello ($hostname = $fqdn, $deployment_url = nil){
Copy link
Member

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
Copy link
Member

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 ?

Copy link
Author

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

Copy link
Member

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.

Copy link
Author

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
@ehelms
Copy link
Member

ehelms commented May 15, 2014

ACK and merging, @dustint-rh thanks!

ehelms added a commit that referenced this pull request May 15, 2014
fixes #5486  prefix and candlepin url incorrect for rhsm template on dev...
@ehelms ehelms merged commit 0c37bc8 into theforeman:master May 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants