Skip to content

Commit bb01db6

Browse files
authored
Do not install lustre on ubuntu2404 (aws#2881)
* Do not install lustre on ubuntu2404 * Fix jq spec test failure die to deprecation of --argfile
1 parent 310cd9c commit bb01db6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cookbooks/aws-parallelcluster-environment/resources/lustre/partial/_install_lustre_debian.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# See the License for the specific language governing permissions and limitations under the License.
1515

1616
action :setup do
17+
return if node['platform_version'].to_i == 24
1718
apt_repository 'fsxlustreclientrepo' do
1819
uri "https://fsx-lustre-client-repo.s3.amazonaws.com/ubuntu"
1920
components ['main']

cookbooks/aws-parallelcluster-platform/test/controls/install_packages_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# Verify jq version is updated enough to accept 2 argfile parameters
1818
describe bash("jq --argfile") do
1919
its('stderr') { should match /jq: --argfile takes two parameters/ }
20-
end unless instance.custom_ami? || os_properties.alinux2023?
20+
end unless instance.custom_ami? || os_properties.alinux2023? || os_properties.ubuntu2404?
2121
# Need to change the jq --argfile commands as its deprecated in 1.7( latest)
2222

2323
unless os_properties.centos7?

0 commit comments

Comments
 (0)