plus3it / watchmaker

:watch: Applied Configuration Management
https://watchmaker.cloudarmor.io/
Apache License 2.0
39 stars 29 forks source link

Support pkg managers for different platforms #1043

Open lorengordon opened 4 years ago

lorengordon commented 4 years ago

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 commented 1 year ago

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

lorengordon commented 1 year ago

Still valid

ferricoxide commented 1 year ago

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 commented 1 year ago

Still just Ubuntu, primarily, per the description.