File tree Expand file tree Collapse file tree 4 files changed +4
-14
lines changed
recipes/controls/aws_parallelcluster_install
resources/controls/aws_parallelcluster_config Expand file tree Collapse file tree 4 files changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ suites:
30
30
- recipe[aws-parallelcluster-common::test_resource]
31
31
verifier :
32
32
controls :
33
- - efa_debian_system_settings_configured
33
+ - tag:config_efa_debian_system_settings_configured
34
34
attributes :
35
35
resource : efa:configure
36
36
cluster :
@@ -44,7 +44,7 @@ suites:
44
44
- recipe[aws-parallelcluster-common::test_resource]
45
45
verifier :
46
46
controls :
47
- - efa_debian_system_settings_configured
47
+ - tag:config_efa_debian_system_settings_configured
48
48
attributes :
49
49
resource : efa:configure
50
50
cluster :
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ _common_cluster_attributes: &_common_cluster_attributes
17
17
custom_node_package : <%= ENV['PARALLELCLUSTER_NODE_URL'] %>
18
18
dcv_enabled : ' head_node'
19
19
dcv_port : ' 8443'
20
- enable_efa : ' compute '
20
+ enable_efa : ' efa '
21
21
nvidia :
22
22
enabled : <%= ENV['NVIDIA_ENABLED'] %>
23
23
Original file line number Diff line number Diff line change 21
21
its ( 'stdout' ) { should match ( /Version #{ node [ 'cluster' ] [ 'intelmpi' ] [ 'version' ] . split ( '.' ) [ 0 ..1 ] . join ( "." ) } / ) }
22
22
end
23
23
end
24
-
25
- control 'tag:config_intel_mpi_ptrace_protection_configured_on_ubuntu1804' do
26
- only_if { node [ 'conditions' ] [ 'intel_mpi_supported' ] && os_properties . ubuntu1804? }
27
-
28
- ptrace_scope = instance . head_node? ? 1 : 0
29
- describe 'check ptrace protection enabled' do
30
- subject { bash ( "sudo -u #{ node [ 'cluster' ] [ 'cluster_user' ] } sysctl kernel.yama.ptrace_scope" ) }
31
- its ( 'stdout' ) { should match /kernel.yama.ptrace_scope = #{ ptrace_scope } / }
32
- end
33
- end
Original file line number Diff line number Diff line change 1
- control 'efa_debian_system_settings_configured ' do
1
+ control 'tag:config_efa_debian_system_settings_configured ' do
2
2
title 'Check debian system is correctly configured for EFA'
3
3
4
4
only_if { os . debian? && !os_properties . virtualized? }
You can’t perform that action at this time.
0 commit comments