chef / chef/mixlib-install

New install_strategy primarily to help reduce test-kitchen run times in some scenarios.

Open
#295 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Triage: Feature Request
Dominant language
Ruby
Stars
13
Forks
55
Avg merge
2d 15h
Merged PRs (30d)
8

Description

Describe the Enhancement:

I would like an install strategy of 'version' or whatever word makes most sense. As an example, for the Chef product.....the following actions would be expected for each version setting
14 -> if latest 14 is not installed, install latest 14.x.x
14.12 -> if latest 14.12 is not installed, install latest 14.12.x
14.14.14 -> if this exact version is not installed, install 14.14.14

Describe the Need:

From personal experience, the need is for a test-kitchen situations where the user

  1. has to deal with Chef baked into an image
  2. desires a different version of Chef to be tested with, perhaps as different set of suites for example
  3. would reduce testing times by not having to download/install a version every time using the :always workaround
Current Alternative

Use the :always strategy, which is lots of extra work for scenarios involving one or more restarts and a good number of test suites.

Can We Help You Implement This?:

I can take a stab at this, but the going may be relatively slow as compared to someone who knows the code base very well.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the existing :always install strategy and the entry points that select and resolve install versions. Define the new strategy's behavior for major, minor, and exact Chef versions, then verify that already-installed matching versions are reused and missing versions are installed.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.