File tree Expand file tree Collapse file tree 3 files changed +0
-63
lines changed
cookbooks/aws-parallelcluster-test/recipes Expand file tree Collapse file tree 3 files changed +0
-63
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2222include_recipe 'aws-parallelcluster-test::test_sudoers'
2323include_recipe 'aws-parallelcluster-test::test_openssh'
2424include_recipe 'aws-parallelcluster-test::test_nvidia'
25- include_recipe 'aws-parallelcluster-test::test_neuron'
2625include_recipe 'aws-parallelcluster-test::test_dcv'
2726
2827###################
Original file line number Diff line number Diff line change @@ -399,21 +399,6 @@ def remove_package_repository(repo_name)
399399 end
400400end
401401
402- # Check if package repository is enabled
403- # NOTE: This helper function defines a Chef resource function to be executed at Converge time
404- def is_repository_enabled? ( repo_name , base_url )
405- command = value_for_platform (
406- %w( ubuntu debian ) => {
407- 'default' => "grep -r -E '^deb +#{ base_url } ' /etc/apt/sources.list*" ,
408- } ,
409- 'default' => "yum -v repolist #{ repo_name } | grep 'Repo-status : enabled' || exit 1 && yum -v repolist #{ repo_name } | grep 'Repo-baseurl : #{ base_url } '" )
410-
411- cmd = Mixlib ::ShellOut . new ( command , timeout : 60 )
412- cmd . run_command
413- # Return false if the repository is not installed
414- cmd . exitstatus . to_i . zero?
415- end
416-
417402# Get number of nv switches
418403def get_nvswitches
419404 # NVSwitch device id is 10de:1af1
@@ -555,11 +540,6 @@ def neuron_installed?
555540 !( cmd . exitstatus != 0 )
556541end
557542
558- def is_neuron_instance?
559- neuron_filter = [ "trn1." ]
560- node [ 'ec2' ] [ 'instance_type' ] . start_with? ( *neuron_filter )
561- end
562-
563543# load cluster configuration file into node object
564544def load_cluster_config
565545 ruby_block "load cluster configuration" do
You can’t perform that action at this time.
0 commit comments