#187 Support Package Installation from Formulas
Closed: Fixed None Opened 9 years ago by tflink.

Something which is closely related to disposable clients is the ability to install packages before or during task execution. Our current solution has been to make sure that task-required packages are installed on every client but that doesn't scale well.

Ideally the solution will:
not require full root privelages
could be executed as part of a separate preparation run


This ticket had assigned some Differential requests:
D419

How much is this different from the package installation (as a part of the remote execution patch) we have in disposable-develop branch?

It isn't really different but I suggest that we change this t
icket a bit to mean:

Support package installation for DNF and Yum, using sudo as needed.

When I was poking at the disposable client code that landed in disposable-develop, I had some problems with f22 because it wanted dnf commands, not yum. Assuming that we start supporting epel7 checks before too long, we'll have to support both at some point anyways. I'm still not sure if we want to be connecting to the disposable clients as root but we can put the sudo part on hold until that's figured out.

The dnf/yum detection doesn't have to be anything fancy - for now I'm fine with just setting dnf/yum in a config file. I don't think we'll have mixed clients, so we can handle more fancy detection if/when we start supporting epel7 tasks.

Thoughts?

DNF is available also on older Fedora versions (definitely F21). Is it not available in RHEL 7/EPEL 7? That way we would have just a single command to use.

! In #300#6060, @kparal wrote:
DNF is available also on older Fedora versions (definitely F21). Is it not available in RHEL 7/EPEL 7? That way we would have just a single command to use.

It is: http://pkgs.fedoraproject.org/cgit/dnf.git/log/?h=epel7.

Login to comment on this ticket.

Metadata