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 @@ -397,21 +397,6 @@ def remove_package_repository(repo_name)
397397 end
398398end
399399
400- # Check if package repository is enabled
401- # NOTE: This helper function defines a Chef resource function to be executed at Converge time
402- def is_repository_enabled? ( repo_name , base_url )
403- command = value_for_platform (
404- %w( ubuntu debian ) => {
405- 'default' => "grep -r -E '^deb +#{ base_url } ' /etc/apt/sources.list*" ,
406- } ,
407- 'default' => "yum -v repolist #{ repo_name } | grep 'Repo-status : enabled' || exit 1 && yum -v repolist #{ repo_name } | grep 'Repo-baseurl : #{ base_url } '" )
408-
409- cmd = Mixlib ::ShellOut . new ( command , timeout : 60 )
410- cmd . run_command
411- # Return false if the repository is not installed
412- cmd . exitstatus . to_i . zero?
413- end
414-
415400# Get number of nv switches
416401def get_nvswitches
417402 # NVSwitch device id is 10de:1af1
@@ -562,11 +547,6 @@ def neuron_installed?
562547 !( cmd . exitstatus != 0 )
563548end
564549
565- def is_neuron_instance?
566- neuron_filter = [ "trn1." ]
567- node [ 'ec2' ] [ 'instance_type' ] . start_with? ( *neuron_filter )
568- end
569-
570550# load cluster configuration file into node object
571551def load_cluster_config
572552 ruby_block "load cluster configuration" do
You can’t perform that action at this time.
0 commit comments