-
Notifications
You must be signed in to change notification settings - Fork 48
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
Conversation
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'], |
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.
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.
420e566
to
f9cdfda
Compare
foreman_config_entry { 'pulp_client_cert': | ||
value => $::certs::pulp_client::client_cert, | ||
ignore_missing => false, | ||
after => Exec['foreman-rake-db:seed'], |
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.
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']]
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 thanks updated to use [Exec['foreman-rake-db:seed'], Class['::certs::pulp_client']]
f9cdfda
to
6135f34
Compare
[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']], |
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.
Duh, I told you wrong, these afters should be require
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.
no worries, I updated to require
6135f34
to
4ecc339
Compare
ACK - thanks @johnpmitsch ! |
Fixes #13658 - pulp_client_key and pulp_client_cert not being set cor…
…rectly
Moved here from puppet-certs theforeman/puppet-certs#75