File tree Expand file tree Collapse file tree 4 files changed +20
-3
lines changed
aws-parallelcluster-platform/test/controls
aws-parallelcluster-slurm Expand file tree Collapse file tree 4 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 1414
1515 expected_enroot_version = node [ 'cluster' ] [ 'enroot' ] [ 'version' ]
1616
17- describe "gdrcopy version is expected to be #{ expected_enroot_version } " do
17+ describe "enroot version is expected to be #{ expected_enroot_version } " do
1818 subject { command ( 'enroot version' ) . stdout . strip ( ) }
1919 it { should eq expected_enroot_version }
2020 end
Original file line number Diff line number Diff line change 3737 cd /tmp/pyxis-#{ pyxis_version }
3838 CPPFLAGS='-I /opt/slurm/include/' make
3939 CPPFLAGS='-I /opt/slurm/include/' make install
40- mkdir -p /opt/slurm/etc/plugstack.conf.d
4140 PYXIS_INSTALL
4241 retries 3
4342 retry_delay 5
4443end
44+
45+ directory "#{ node [ 'cluster' ] [ 'slurm' ] [ 'install_dir' ] } /etc/plugstack.conf.d"
46+
47+ template "#{ node [ 'cluster' ] [ 'slurm' ] [ 'install_dir' ] } /etc/plugstack.conf" do
48+ source 'pyxis/plugstack.conf.erb'
49+ cookbook 'aws-parallelcluster-slurm'
50+ owner 'root'
51+ group 'root'
52+ mode '0644'
53+ end
54+
55+ link '/usr/local/share/pyxis/pyxis.conf' do
56+ to "#{ node [ 'cluster' ] [ 'slurm' ] [ 'install_dir' ] } /etc/plugstack.conf.d/pyxis.conf"
57+ end
File renamed without changes.
Original file line number Diff line number Diff line change 1212control 'tag:install_pyxis_installed' do
1313 only_if { [ 'yes' , true ] . include? ( node [ 'cluster' ] [ 'nvidia' ] [ 'enabled' ] ) }
1414
15- title 'Checks Pyxis has been installed'
15+ title 'Checks plugstack directory has been installed'
16+
17+ describe directory ( '/opt/slurm/etc/plugstack.conf.d' ) do
18+ it { should exist }
19+ end
1620
1721 describe file ( "/opt/slurm/etc/plugstack.conf.d/pyxis.conf" ) do
1822 it { should exist }
You can’t perform that action at this time.
0 commit comments