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

Specify the candlepin event queue in katello_devel params #72

Merged
merged 1 commit into from
Apr 12, 2016

Conversation

stbenjam
Copy link
Member

We only call katello::qpid directly, and the katello top-level namespace
isn't loaded when katello_devel is running, so the queue name
doesn't resolve.

@@ -60,6 +60,7 @@
$initial_location = $katello_devel::params::initial_location,
$admin_password = $katello_devel::params::admin_password,
$enable_ostree = $katello::params::enable_ostree,
$candlepin_event_queue = $katello_devel::params::candlepin_event_queue,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason this works is $::katello_devel::params inherits from $::katello::params.

@ekohl
Copy link
Member

ekohl commented Apr 12, 2016

ACK this makes sense to me though I didn't test it.

@beav
Copy link
Contributor

beav commented Apr 12, 2016

I get this error:

[FATAL 2016-04-12 17:11:15 fatal] Unable to continue because of: undocumented parameters in katello_devel: candlepin_event_queue

We only call katello::qpid directly, and the katello top-level namespace
isn't loaded when katello_devel is running, so the queue name
doesn't resolve.
@beav
Copy link
Contributor

beav commented Apr 12, 2016

new patch works for me, clean run for devel setup!

ACK

@ekohl
Copy link
Member

ekohl commented Apr 12, 2016

There's a puppet-lint check for that. We use it in all theforeman modules so travis catches those for us.

@stbenjam
Copy link
Member Author

@ekohl Oh I see, we have the bits in our modulesync but it's not configured in the .sync.yml's, thanks! Filed http://projects.theforeman.org/issues/14599

@stbenjam
Copy link
Member Author

Thanks @beav and @ekohl, merging

@stbenjam stbenjam merged commit 57e93c8 into theforeman:master Apr 12, 2016
@stbenjam stbenjam deleted the fix_queue branch April 12, 2016 21:39
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.

3 participants