]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commitdiff
(maint) Fix `--random-fully` test to run on RHEL 9
authordavid22swan <david.swan@puppet.com>
Tue, 5 Jul 2022 11:54:26 +0000 (12:54 +0100)
committerdavid22swan <david.swan@puppet.com>
Tue, 5 Jul 2022 11:54:26 +0000 (12:54 +0100)
spec/acceptance/firewall_attributes_exceptions_spec.rb

index 921bd938a2e06151a03b7c82e34402b2df14bf62..3616db55b3b00add9a4deeedbeda41001204969c 100644 (file)
@@ -1348,7 +1348,7 @@ describe 'firewall basics', docker: true do
   end
 
   describe 'random-fully' do
-    supports_random_fully = if os[:family] == 'redhat' && os[:release].start_with?('8')
+    supports_random_fully = if os[:family] == 'redhat' && os[:release].start_with?('8', '9')
                               true
                             elsif os[:family] == 'debian' && os[:release].start_with?('10')
                               true