diff --git a/spec/classes/core/rke_spec.rb b/spec/classes/core/rke_spec.rb index ac24791192..b60d99f41c 100644 --- a/spec/classes/core/rke_spec.rb +++ b/spec/classes/core/rke_spec.rb @@ -4,6 +4,8 @@ describe 'profile::core::rke' do on_supported_os.each do |os, os_facts| + next unless os =~ %r{almalinux-9-x86_64} + context "on #{os}" do let(:facts) { os_facts } let(:pre_condition) do diff --git a/spec/hosts/roles/rke_spec.rb b/spec/hosts/roles/rke_spec.rb index b1a6dd8cd0..1d76caf14a 100644 --- a/spec/hosts/roles/rke_spec.rb +++ b/spec/hosts/roles/rke_spec.rb @@ -47,6 +47,8 @@ describe "#{role} role" do on_supported_os.each do |os, os_facts| + next unless os =~ %r{almalinux-9-x86_64} + context "on #{os}" do let(:facts) { os_facts } let(:node_params) do