|
27 | 27 | end
|
28 | 28 | end
|
29 | 29 |
|
30 |
| - if os_properties.redhat? && inspec.os.release.to_f >= 8.2 && !os_properties.on_docker? && !os_properties.ubuntu2404? |
| 30 | + if os_properties.redhat? && inspec.os.release.to_f >= 8.2 && !os_properties.on_docker? |
31 | 31 | # TODO: restore installation and check on docker when Lustre is available for RH8.9
|
32 | 32 | # See: https://docs.aws.amazon.com/fsx/latest/LustreGuide/install-lustre-client.html
|
33 | 33 | unless inspec.os.release.to_f == 8.7 && (node['cluster']['kernel_release'].include?("4.18.0-425.3.1.el8") || node['cluster']['kernel_release'].include?("4.18.0-425.13.1.el8_7"))
|
|
55 | 55 | end
|
56 | 56 | end
|
57 | 57 |
|
58 |
| - if os_properties.debian_family? && !os_properties.ubuntu2404? |
| 58 | + if os_properties.debian_family? |
59 | 59 | describe apt('https://fsx-lustre-client-repo.s3.amazonaws.com/ubuntu') do
|
60 | 60 | it { should exist }
|
61 | 61 | it { should be_enabled }
|
|
89 | 89 |
|
90 | 90 | control 'tag:install_lustre_lnet_kernel_module_enabled' do
|
91 | 91 | title "Verify that lnet kernel module is enabled"
|
92 |
| - only_if { !os_properties.on_docker? && !os_properties.alinux? && !os_properties.ubuntu2404? } |
| 92 | + only_if { !os_properties.on_docker? && !os_properties.alinux? } |
93 | 93 | describe kernel_module("lnet") do
|
94 | 94 | it { should be_loaded }
|
95 | 95 | it { should_not be_disabled }
|
|
98 | 98 | end
|
99 | 99 |
|
100 | 100 | control 'lustre_mounted' do
|
101 |
| - only_if { !os_properties.on_docker? && !os_properties.ubuntu2404? } |
| 101 | + only_if { !os_properties.on_docker? } |
102 | 102 | describe mount('/shared_dir') do
|
103 | 103 | it { should be_mounted }
|
104 | 104 | its('type') { should eq 'lustre' }
|
105 | 105 | end
|
106 | 106 | end
|
107 | 107 |
|
108 | 108 | control 'lustre_unmounted' do
|
109 |
| - only_if { !os_properties.on_docker? && !os_properties.ubuntu2404? } |
| 109 | + only_if { !os_properties.on_docker? } |
110 | 110 |
|
111 | 111 | describe mount('/shared_dir') do
|
112 | 112 | it { should_not be_mounted }
|
|
0 commit comments