Ver código fonte

fix(system_patch): Fix the patch_file name

Signed-off-by: Jeremy MAURO <jeremy.mauro@gmail.com>
Jeremy MAURO 2 anos atrás
pai
commit
e66834ab16
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      cookbooks/gateway/recipes/_system_patch.rb

+ 1 - 1
cookbooks/gateway/recipes/_system_patch.rb

@@ -10,7 +10,7 @@ patch_files = %w{
 }
 
 patch_files.each do |patch_file|
-  cache_path = ::File.join(::Chef::Config[:file_cache_path], '0001-Fix-dkms-doesn-t-remove-modules.patch')
+  cache_path = ::File.join(::Chef::Config[:file_cache_path], patch_file)
   cookbook_file cache_path do
     source patch_file
   end