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

Support pkg managers for different platforms #1043

Open
lorengordon opened this issue Dec 10, 2019 · 4 comments
Open

Support pkg managers for different platforms #1043

lorengordon opened this issue Dec 10, 2019 · 4 comments

Comments

@lorengordon
Copy link
Member

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.

@ferricoxide
Copy link
Member

This issue is pretty old: can it be closed/is it "OBE"?

@lorengordon
Copy link
Member Author

Still valid

@ferricoxide
Copy link
Member

Ok… Reading description-text seems to be focused on enabling only for further Linux distros (ones that don't use RPM-delivered content)? Keeping this open because it's actually (now) meant more for adding packaging-support for Windows?

@lorengordon
Copy link
Member Author

Still just Ubuntu, primarily, per the description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants