Skip to content

Commit

Permalink
without check
Browse files Browse the repository at this point in the history
Signed-off-by: Hanwen <[email protected]>
  • Loading branch information
hanwen-cluster committed Oct 19, 2022
1 parent aedb656 commit 093351b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cookbooks/aws-parallelcluster-install/recipes/efs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
efs_utils_tarball = "#{node['cluster']['sources_dir']}/efs-utils-#{node['cluster']['efs_utils']['version']}.tar.gz"
return unless platform?('amazon')

# Do not install efs-utils if a same or newer version is already installed.
return if Gem::Version.new(get_package_version(package_name)) >= Gem::Version.new(node['cluster']['efs_utils']['version'])

# Get EFS Utils tarball
remote_file efs_utils_tarball do
source node['cluster']['efs_utils']['url']
Expand Down

0 comments on commit 093351b

Please sign in to comment.