summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc A. Paradise <marc.paradise@gmail.com>2022-06-27 09:47:00 -0400
committerMarc A. Paradise <marc.paradise@gmail.com>2022-06-27 09:47:00 -0400
commitd3b607c6ff60110b100d81f9977143194a02bf00 (patch)
tree8656efd185d84cd7467fc2fc675246107e2ae796
parent87e1b19fcb1f9d319a789b7a638e6f75636dda2a (diff)
downloadchef-mp/v16.17.39-more-logs.tar.gz
logging: track which files we do not updatemp/v16.17.39-more-logs
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
-rw-r--r--lib/chef/chef_fs/file_system.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/chef/chef_fs/file_system.rb b/lib/chef/chef_fs/file_system.rb
index 84e4b4913f..6ab112bdaa 100644
--- a/lib/chef/chef_fs/file_system.rb
+++ b/lib/chef/chef_fs/file_system.rb
@@ -348,6 +348,8 @@ class Chef
dest_entry.copy_from(src_entry, options)
ui.output "Updated #{dest_path}" if ui
end
+ else
+ ui.output "Skipping #{dest_entry}" if ui
end
return
end
@@ -391,6 +393,8 @@ class Chef
dest_entry.write(src_value)
ui.output "Updated #{dest_path}" if ui
end
+ else
+ ui.output "Skipping[2] #{dest_path}" if ui
end
end
end