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 #13658 - pulp_client_key and pulp_client_cert not being set cor… #104

Merged
merged 1 commit into from
Feb 12, 2016

Conversation

johnpmitsch
Copy link
Contributor

…rectly

Moved here from puppet-certs theforeman/puppet-certs#75

@beav
Copy link
Contributor

beav commented Feb 10, 2016

seems reasonable to me, APJ assuming other PR is good as well (please merge them in tandem)

foreman_config_entry { 'pulp_client_cert':
value => $client_cert,
ignore_missing => false,
before => Exec['foreman-rake-db:migrate'],
Copy link
Member

Choose a reason for hiding this comment

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

We will want this happen afterward, since this performs a change in the database, we want a migrated database. I might even put this after db:seed just to be safe.

foreman_config_entry { 'pulp_client_cert':
value => $::certs::pulp_client::client_cert,
ignore_missing => false,
after => Exec['foreman-rake-db:seed'],
Copy link
Member

Choose a reason for hiding this comment

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

We'll need pulp_client to have been run to it come to think of it,

after => [Exec['foreman-rake-db:seed'], Class['::certs::pulp_client']]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ehelms thanks updated to use [Exec['foreman-rake-db:seed'], Class['::certs::pulp_client']]

@johnpmitsch
Copy link
Contributor Author

[test]

foreman_config_entry { 'pulp_client_cert':
value => $::certs::pulp_client::client_cert,
ignore_missing => false,
after => [Exec['foreman-rake-db:seed'], Class['::certs::pulp_client']],
Copy link
Member

Choose a reason for hiding this comment

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

Duh, I told you wrong, these afters should be require

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no worries, I updated to require

@ehelms
Copy link
Member

ehelms commented Feb 12, 2016

ACK - thanks @johnpmitsch !

ehelms added a commit that referenced this pull request Feb 12, 2016
Fixes #13658 - pulp_client_key and pulp_client_cert not being set cor…
@ehelms ehelms merged commit 637d1a0 into theforeman:master Feb 12, 2016
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