File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
cookbooks/aws-parallelcluster-slurm/resources/slurm_dependencies Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,28 @@ def dependencies
2222 # http parser is no longer maintained, therefore Amazon Linux 2023 does have have the package in OS repos
2323 # https://docs.aws.amazon.com/linux/al2023/release-notes/removed-AL2023.4-AL2.html
2424 # Following https://slurm.schedmd.com/related_software.html#jwt for Installing Http-parser
25+
26+ remote_file "#{ node [ 'cluster' ] [ 'sources_dir' ] } /http-parser-2.9.4" do
27+ source "https://github.com/nodejs/http-parser/archive/refs/tags/v2.9.4.tar.gz"
28+ mode '0644'
29+ retries 3
30+ retry_delay 5
31+ action :create_if_missing
32+ end
33+
34+ bash 'make install' do
35+ user 'root'
36+ group 'root'
37+ cwd "#{ node [ 'cluster' ] [ 'sources_dir' ] } "
38+ code <<-HTTP
39+ set -e
40+ tar xf #{ node [ 'cluster' ] [ 'sources_dir' ] } /http-parser-2.9.4
41+ cd http-parser-2.9.4
42+ make
43+ make install
44+ HTTP
45+ end
46+
2547 # bash 'Install http-parser' do
2648 # code <<-HTTP_PARSER
2749 # set -e
You can’t perform that action at this time.
0 commit comments