Story #6795
closedStory #6793: [Epic] As a pulp_installer user, I can install Pulp from RPMs
As a pulp_installer user, I can specify the names of the RPMs to install from
0%
Description
The current design for this is, given a list of plugins like:
pulp_install_plugins:
pulp-file:
version: 0.4.0
pulp-ansible:
upgrade: true
To install the plugin RPM packages according to their names (the dictionary keys), and ignore the upgrade / version variables.
Details likely to change, depending on the needs of users & the repos:
- Ignoring the upgrade / version subvariables
- allowing for possible dashes or underscores substitution
- Adding another subvariable for users to override the names of the plugins to install, such as:
pulp-ansible:
package_name: MyCoolSCL-11-pulp-ansible
Also, similar logic applies to the pulpcore package itself, and its vars.
Also, for dependency resolution, we should let the distro's package manager handle this. So we should probably have 1 atomic task equivalent to:
dnf install pulpcore pulp-file pulp-ansible
Rather than:
dnf install pulpcore
dnf install pulp-file
dnf install pulp-ansible
dnf would give an error if there is any dependency error at all.
As a pulp_installer user, I can install Pulp from RPMs
Heavily adapted from "allow installing pulp from packages"
https://github.com/pulp/pulp_installer/pull/188
Includes:
yum update
fixes: #6793
Includes these subtasks implemented: re: #6794 re: #6795 re: #6796 (It was easiest to implement them all in one PR.)