Skip to content

Support pkg managers for different platforms #1043

@lorengordon

Description

@lorengordon

First, currently watchmaker has a Yum worker that knows how to retrieve a yum repo file and drop it into /etc/yum.repo.d. Consider introducing a more abstract approach that would support different platforms (e.g. Ubuntu). Alternatively, could use a worker per pkg manager (as now), and require the user to provide a config specific to the platform they are executing against.

Second, the SaltWorker currently calls yum directly to install required pkgs. Consider a function that calls the correct pkg manager according to platform, e.g. yum vs apt... Same alternative here, implement the pkg manager method directly in the salt worker (it is already implemented as the install_method argument), require the user to provide a config specific to the platform the are running against.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions