Support pkg managers for different platforms
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 42
- Forks
- 31
- Avg merge
- 5h 22m
- Merged PRs (30d)
- 19
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read the existing Yum worker and SaltWorker, focusing on the current yum repository handling, direct yum invocation, and the install_method argument. Define the platform-specific package-manager behavior and configuration approach, then verify that both repository setup and package installation can support the mentioned yum and apt cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devops, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100