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

Correct chaining on puppet master integration #179

Merged
merged 2 commits into from
Oct 23, 2018

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Oct 23, 2018

The certs::puppet class inherits from certs so that require is redundant.

We must also chain it to foreman::puppetmaster because puppet now contains the entire installation. However, it's also provides the User[puppet] which is the owner of the file. This creates a dependency cycle. By setting up the cert foreman::puppetmaster uses before the actual class is used, we avoid this problem and guarantee the ENC integration is still set up before the puppet master starts.

While we're at it, we also fix the style of foreman_proxy_content_spec.rb but in a separate commit for easier reviewing.

ekohl added 2 commits October 23, 2018 18:28
The certs::puppet class inherits from certs so that require is
redundant.

We must also chain it to foreman::puppetmaster because puppet now
contains the entire installation. However, it's also provides the
User[puppet] which is the owner of the file. This creates a dependency
cycle. By setting up the cert foreman::puppetmaster uses before the
actual class is used, we avoid this problem and guarantee the ENC
integration is still set up before the puppet master starts.
Copy link
Member

@tbrisker tbrisker left a comment

Choose a reason for hiding this comment

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

makes sense to me

@ehelms ehelms merged commit 7f79f03 into theforeman:master Oct 23, 2018
@ekohl ekohl deleted the chain-puppet-certs branch November 29, 2019 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants