feat: modernise cookbook structure and ChefSpec - #602
Open
damacus wants to merge 14 commits into
Open
Conversation
mvangoor
reviewed
Mar 16, 2026
mvangoor
reviewed
Mar 16, 2026
mvangoor
reviewed
Mar 16, 2026
damacus
force-pushed
the
modernise-cookbook
branch
5 times, most recently
from
March 17, 2026 21:34
ef363ec to
6800126
Compare
bmhughes
previously approved these changes
Mar 18, 2026
jamietanna
reviewed
Mar 26, 2026
- 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
…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)
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>
OpenSSL 3.5.5 Makefile.in requires perl-Time-Piece module. Use bare apt_update across all source test recipes.
- 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>
damacus
force-pushed
the
modernise-cookbook
branch
from
July 30, 2026 09:35
48802e5 to
1342ab7
Compare
Slowest examplesTop 10 slowest examples (1.26 seconds, 31.68% of total time)
|
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