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 #7210 - make sure the Package['pulp-server'] is defined #31

Merged
merged 1 commit into from
Aug 21, 2014

Conversation

iNecas
Copy link
Member

@iNecas iNecas commented Aug 21, 2014

Otherwise, capsule-certs-generate is broken

Otherwise, capsule-certs-generate is broken
@@ -26,6 +26,8 @@
class { 'certs::apache': hostname => $capsule_fqdn }
class { 'certs::qpid': hostname => $capsule_fqdn }
class { 'certs::pulp_child': hostname => $capsule_fqdn }

include ::pulp::install
Copy link
Member

Choose a reason for hiding this comment

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

Why do an include instead of a require => Package['pulp-server'] ?

Copy link
Member Author

Choose a reason for hiding this comment

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

We need to include for the Package['pulp-server'] to be even defined. The require is already there https://github.com/iNecas/puppet-certs/blob/issue/7210/manifests/pulp_parent.pp#L60

Copy link
Member

Choose a reason for hiding this comment

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

That seems disconnected to me - should the pulp_parent class no include the install then?

Copy link
Member Author

Choose a reason for hiding this comment

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

When doing that, you would get errors in katello-installer, because katello-installer already defines those somewhere else: this came out as the best place to put it to make everyone happy and don't infer with katello-installer

Copy link
Member

Choose a reason for hiding this comment

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

I'll take it, but this module scares me more and more everyday :)

Copy link
Member Author

Choose a reason for hiding this comment

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

Welcome to the x509 hell :)

@jlsherrill
Copy link
Contributor

Tested and works for me!

@iNecas
Copy link
Member Author

iNecas commented Aug 21, 2014

The travis is failing because of http://projects.theforeman.org/issues/7147, temp fix here #29

iNecas added a commit that referenced this pull request Aug 21, 2014
Fixes #7210 - make sure the Package['pulp-server'] is defined
@iNecas iNecas merged commit 1c71eb3 into theforeman:master Aug 21, 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.

3 participants