summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan McLellan <btm@loftninjas.org>2019-05-30 10:28:29 -0400
committerBryan McLellan <btm@loftninjas.org>2019-05-30 10:28:29 -0400
commit25b6d6bebcc49342521eade97889a9a3c6842d8e (patch)
tree37d8f6c323196b38df02d739a19faea1c233a292
parent5827d6b63034be1f86f7b5afc614a15bde484da0 (diff)
downloadchef-25b6d6bebcc49342521eade97889a9a3c6842d8e.tar.gz
Trace output the actual bootstrap template filename
We're currently logging the directory we found the bootstrap template in, but not actually the name of the file that we've chose. Minor change to fix that. Signed-off-by: Bryan McLellan <btm@loftninjas.org>
-rw-r--r--lib/chef/knife/bootstrap.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/bootstrap.rb b/lib/chef/knife/bootstrap.rb
index d65d9da396..cb8400cc14 100644
--- a/lib/chef/knife/bootstrap.rb
+++ b/lib/chef/knife/bootstrap.rb
@@ -495,7 +495,7 @@ class Chef
raise Errno::ENOENT
end
- Chef::Log.trace("Found bootstrap template in #{File.dirname(template_file)}")
+ Chef::Log.trace("Found bootstrap template: #{template_file}")
template_file
end