File tree 2 files changed +25
-0
lines changed
cookbooks/aws-parallelcluster-slurm/resources/slurm_dependencies 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 18
18
packages dependencies
19
19
action :install
20
20
end unless redhat_on_docker?
21
+
22
+ action_install_extra_dependencies
23
+ end
24
+
25
+
26
+ action :install_extra_dependencies do
27
+ # Do Nothing
21
28
end
Original file line number Diff line number Diff line change @@ -21,4 +21,22 @@ def dependencies
21
21
def unsupported_dependencies
22
22
# Using `sudo dnf supportinfo --pkg <PACKAGE_NAME>` to find if packages are available
23
23
%w( http-parser-devel )
24
+ # Tried replacing http-parser with below Packages ( doesnt work )
25
+ # %w(httpcomponents-client httpcomponents-core httpcomponents-project httpd httpd-core httpd-devel httpd-filesystem httpd-manual httpd-tools)
26
+ end
27
+
28
+
29
+ action :install_extra_dependencies do
30
+ # Following https://slurm.schedmd.com/related_software.html#jwt for Installing Http-parser
31
+ bash 'Install http-parser' do
32
+ user 'root'
33
+ group 'root'
34
+ code <<-HTTP_PARSER
35
+ set -e
36
+ git clone --depth 1 --single-branch -b v2.9.4 https://github.com/nodejs/http-parser.git http_parser
37
+ cd http_parser
38
+ make
39
+ make install
40
+ HTTP_PARSER
41
+ end
24
42
end
You can’t perform that action at this time.
0 commit comments