feat: distinguish between omnibus and habitat based products - #430
Draft
Stromweld wants to merge 10 commits into
Draft
feat: distinguish between omnibus and habitat based products#430Stromweld wants to merge 10 commits into
Stromweld wants to merge 10 commits into
Conversation
Stromweld
force-pushed
the
add-chef-workstation-enterprise
branch
from
July 14, 2026 01:09
32fda44 to
8a7ffcd
Compare
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
Stromweld
force-pushed
the
habitat-product-support
branch
from
July 14, 2026 01:10
efe3c5b to
d73bee4
Compare
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
tpowell-progress
force-pushed
the
add-chef-workstation-enterprise
branch
from
July 14, 2026 20:15
e16ea42 to
5430a80
Compare
tpowell-progress
force-pushed
the
add-chef-workstation-enterprise
branch
from
July 14, 2026 20:17
5430a80 to
fd57bf3
Compare
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
…lib-install into habitat-product-support
…tadata lookup Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
Stromweld
force-pushed
the
habitat-product-support
branch
from
July 14, 2026 23:08
591ee89 to
9b5a7c7
Compare
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
Stromweld
marked this pull request as draft
July 24, 2026 13:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds first-class support for habitat-based products alongside omnibus products. Introduces a
distribution_typeDSL property and metadata-driven path selection inScriptGenerator.Changes
lib/mixlib/install/product.rbdistribution_type,hab_origin,hab_builder_url,hab_package_namedistribution_type→"omnibus",hab_origin→"chef",hab_builder_url→"https://bldr.habitat.sh",hab_package_name→package_namehabitat?,omnibus?,hab_package_urlinstall_pathbranches ondistribution_typelib/mixlib/install/product_matrix.rbchef-ice,chef-workstation-enterprise,inspec-enterprise:distribution_type 'habitat'+hab_package_namelib/mixlib/install/script_generator.rbchef-icehabitat path block with metadata-drivenPRODUCT_MATRIX.lookup(@project)&.habitat?guardSpecs
habitat?/omnibus?predicates,install_pathbranching,hab_package_urlTesting
bundle exec rspec spec/unit/— 596 examples, 4 pre-existing failures (unrelated to this change)