Selaa lähdekoodia

fix(system_patch): Fix the patch_file name

Signed-off-by: Jeremy MAURO <jeremy.mauro@gmail.com>
Jeremy MAURO 2 vuotta sitten
vanhempi
commit
e66834ab16
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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