Skip to content

Commit 0317f2d

Browse files
committed
Add beaker-puppet constraint to sync.yml
In a878ab1, we limited beaker-puppet to Ruby <= 3.1. This commit adds that restriction to .sync.yml so that change will persist across PDK updates, and adds a comment with the rationale behind this restriction.
1 parent 039c68e commit 0317f2d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.sync.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,11 @@ Gemfile:
3333
from_env: BEAKER_HOSTGENERATOR_VERSION
3434
- gem: beaker-rspec
3535
from_env: BEAKER_RSPEC_VERSION
36+
# Prevent beaker-puppet from being installed on Ruby > 3.1 until beaker-puppet supports newer Rubies
3637
- gem: beaker-puppet
3738
from_env: BEAKER_PUPPET_VERSION
3839
version: '~> 3.0'
40+
condition: Gem::Requirement.create('< 3.1.0').satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
3941
- gem: async
4042
version: '~> 1'
4143
- gem: beaker-module_install_helper

0 commit comments

Comments
 (0)