-
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
Refs #28695: Add Pulp 2 migration settings #313
Conversation
manifests/init.pp
Outdated
enable_puppet => $enable_puppet, | ||
enable_docker => $enable_docker, | ||
enable_deb => $enable_deb, | ||
use_pulp_2_for_file => $use_pulp_2_for_file, |
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.
These probably need to be parameters to katello::application
, not globals.
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.
I honestly have no idea what's what anymore. So if thats the best place for this I'll do whatever. katello::application
includes params which inherits globals. So when and how do you know where to pass what?
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.
I should write this down in the README, but the general rule is that katello::globals
affects multiple services that a user is expected to be able to change (theforeman/foreman-installer#421 would expose it to the end user). katello::params
is intended for advanced uses and the installer wouldn't expose them. Then we have the individual classes (katello::application
, katello::candlepin
, katello::pulp
and katello::qpid
) which are directly exposed to the user as top level parameters. The class katello
is for compatibility and going away. Right now it's there not to break the installer experience. The reason it's still here is more for downstream than upstream.
I saw these errors locally and I struggled to decipher the issue given its similar to other parameters. |
@jlsherrill if this is merged, but Pulp 3 is not setup, will Katello bomb out? Or is this safe to merge ahead of itme? |
This should be safe to merge ahead of time |
No description provided.