Skip to content

feat!: migrate to custom resources#196

Merged
damacus merged 5 commits intomainfrom
refactor/custom-resource-migration
Apr 20, 2026
Merged

feat!: migrate to custom resources#196
damacus merged 5 commits intomainfrom
refactor/custom-resource-migration

Conversation

@damacus
Copy link
Copy Markdown
Member

@damacus damacus commented Apr 20, 2026

Summary

  • migrate the cookbook from legacy recipes and attributes to custom resources for WMF, WinRM, DSC, and LCM management
  • align CI and Kitchen configuration with the current Sous-Chefs workflow shape, including the Windows exec-driver path used in GitHub Actions
  • refresh README, testing guidance, limitations, and resource documentation, and replace the old recipe specs with focused unit and integration coverage

Testing

  • berks install
  • cookstyle
  • resource and library specs passed: 25 examples, 0 failures
  • kitchen test default-windows-2019 --destroy=always fails locally during vagrant winrm-config on the Parallels VM before converge starts; the VM reports as running but never exposes WinRM config

Replace the legacy recipe and attribute model with custom resources for WMF, WinRM, DSC, and LCM management. Align CI and kitchen config with the current Sous-Chefs workflow shape, refresh documentation, and add focused resource/unit and integration coverage for the migrated surface.
@damacus damacus requested a review from a team as a code owner April 20, 2026 15:21
@damacus damacus changed the title refactor: migrate to custom resources feat!: migrate to custom resources Apr 20, 2026
@github-actions
Copy link
Copy Markdown

Slowest examples

Top 10 slowest examples (1.05 seconds, 47.91% of total time)
Example Description Time in seconds
spec/unit/resources/powershell_dsc_spec.rb:17 powershell_dsc is expected to install powershell_wmf "4.0" 0.13906
spec/unit/resources/powershell_lcm_spec.rb:27 powershell_lcm with action :enable is expected to create directory "Creating temporary directory to store LCM MOF files" 0.11905
spec/unit/resources/powershell_wmf_spec.rb:66 powershell_wmf when installing PowerShell 5.1 on Windows Server 2008 R2 is expected to create remote_file "C:/Users/RUNNER~1/AppData/Local/Temp/d20260420-5264-k1kx7y\wmf51.zip" 0.104
spec/unit/resources/powershell_winrm_spec.rb:32 powershell_winrm when enabling an HTTPS listener is expected to run powershell_script "winrm-create-https-listener" 0.10281
spec/unit/resources/powershell_lcm_spec.rb:43 powershell_lcm with action :disable is expected to create powershell_dsc "default" 0.10154
spec/unit/resources/powershell_wmf_spec.rb:78 powershell_wmf when installing PowerShell 5.1 on Windows Server 2008 R2 is expected to equal true 0.10094
spec/unit/resources/powershell_lcm_spec.rb:26 powershell_lcm with action :enable is expected to create powershell_dsc "default" 0.10056
spec/unit/resources/powershell_lcm_spec.rb:32 powershell_lcm with action :enable is expected to run powershell_script "Configure and Enable LCM" 0.09739
spec/unit/resources/powershell_wmf_spec.rb:20 powershell_wmf when installing PowerShell 2.0 on Windows Server 2012 is expected to install windows_feature "MicrosoftWindowsPowerShellV2" 0.09716
spec/unit/resources/powershell_lcm_spec.rb:42 powershell_lcm with action :disable is expected to install powershell_wmf "5.1" 0.09554

@damacus damacus merged commit 5332a96 into main Apr 20, 2026
9 checks passed
@damacus damacus deleted the refactor/custom-resource-migration branch April 20, 2026 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant