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

Refs #28695: Add Pulp 2 migration settings #313

Merged
merged 1 commit into from
Jan 20, 2020

Conversation

ehelms
Copy link
Member

@ehelms ehelms commented Jan 16, 2020

No description provided.

enable_puppet => $enable_puppet,
enable_docker => $enable_docker,
enable_deb => $enable_deb,
use_pulp_2_for_file => $use_pulp_2_for_file,
Copy link
Member

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.

Copy link
Member Author

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?

Copy link
Member

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.

@ehelms
Copy link
Member Author

ehelms commented Jan 17, 2020

I saw these errors locally and I struggled to decipher the issue given its similar to other parameters.

manifests/init.pp Outdated Show resolved Hide resolved
@ehelms
Copy link
Member Author

ehelms commented Jan 17, 2020

@jlsherrill if this is merged, but Pulp 3 is not setup, will Katello bomb out? Or is this safe to merge ahead of itme?

@jlsherrill
Copy link
Contributor

This should be safe to merge ahead of time

@ehelms ehelms merged commit e61bcfc into theforeman:master Jan 20, 2020
@ehelms ehelms deleted the refs-28695 branch January 20, 2020 13:44
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