From a1b381ff5e959ddcdfdb9efc61b30e24c70906c9 Mon Sep 17 00:00:00 2001 From: Joshua Hoblitt Date: Thu, 11 Apr 2024 11:08:45 -0700 Subject: [PATCH] (role/rke) only support el9 --- spec/classes/core/rke_spec.rb | 2 ++ spec/hosts/roles/rke_spec.rb | 2 ++ 2 files changed, 4 insertions(+) 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