feat: modernise cookbook structure and ChefSpec#602
Open
Conversation
- Add frozen_string_literal: true to all Ruby files - Add provides declarations to all resources - Rename spec/unit/recipes/ to spec/unit/resources/ - Fix almalinux/10 fauxhai spec (use platform override instead of unbundled platform) - Expand metadata.rb platform support (almalinux, rocky, oracle, fedora) - Add default kitchen suite with test recipe and InSpec profile - Align CI matrix with kitchen platforms and suites - Add LIMITATIONS.md documenting known constraints
- 3.2 is the current LTS branch (EOL 2030-04-01) - Update source_version default: 2.8.5 -> 3.2.14 - Update source_checksum to match 3.2.14 tarball - Update stub_command version refs in specs - Update test recipe versions and checksums
mvangoor
reviewed
Mar 16, 2026
mvangoor
reviewed
Mar 16, 2026
mvangoor
reviewed
Mar 16, 2026
…t protected files - Revert chef_version to ENV || current - Fix pid_one_command from YAML arrays to strings (fixes scan error) - Remove hardcoded CHEF_VERSION from mise.toml - Revert metadata.rb and CHANGELOG.md to main (protected files)
357129b to
039214a
Compare
Source compilation recipes need apt_update on Debian/Ubuntu to ensure fresh apt cache in Dokken containers. Signed-off-by: Dan Webb <dan.webb@damacus.io>
039214a to
0b6738a
Compare
OpenSSL 3.5.5 Makefile.in requires perl-Time-Piece module. Use bare apt_update across all source test recipes.
11c9d13 to
ef363ec
Compare
- Remove source-24/source-26 from integration-amazonlinux CI matrix - Use perl-core on EL8 (individual perl-* modules don't exist) - Add perl-Time-Piece for OpenSSL 3.5.5 on EL9+ - Add perl and zlib1g-dev for Debian/Ubuntu - Add perl and zlib-devel for openSUSE Tested locally: almalinux-8, almalinux-9, debian-12 Signed-off-by: Dan Webb <dan.webb@damacus.io>
ef363ec to
6800126
Compare
Slowest examplesTop 10 slowest examples (1.26 seconds, 44.55% of total time)
|
bmhughes
approved these changes
Mar 18, 2026
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
Modernises the cookbook structure, spec organisation, and CI configuration.
Changes
# frozen_string_literal: trueto all Ruby filesprovidesdeclarations to all custom resourcesspec/unit/recipes/→spec/unit/resources/to reflect resource-based testingalmalinux/10spec — platform not bundled in fauxhai gem; usealmalinux/9withnode.automatic['platform_version'] = '10'override to test PCRE2 branchalmalinux,rocky,oracle,fedora)defaultsuite, aligned platforms withkitchen.dokken.yml, switched provisioner tochef_infraTesting