summaryrefslogtreecommitdiff
path: root/lib/chef/train_transport.rb
diff options
context:
space:
mode:
authorTensibai <tensibai@iabis.net>2019-09-26 14:43:19 +0200
committerTensibai <tensibai@iabis.net>2019-09-26 17:11:24 +0200
commita6d32a9b9e69aa8b5e0a37f6555c5c5b639b36c2 (patch)
tree2da5ba50f68481683ffe412097a148b0905d23e8 /lib/chef/train_transport.rb
parent49ff9da07c01255c36650ca55874ac067c0e68bd (diff)
downloadchef-a6d32a9b9e69aa8b5e0a37f6555c5c5b639b36c2.tar.gz
Fix some places where constants from dist.rb were not used. Specifically for chef-shell
Signed-off-by: Tensibai <tensibai@iabis.net>
Diffstat (limited to 'lib/chef/train_transport.rb')
-rw-r--r--lib/chef/train_transport.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/train_transport.rb b/lib/chef/train_transport.rb
index accaa6355b..6a82e8620e 100644
--- a/lib/chef/train_transport.rb
+++ b/lib/chef/train_transport.rb
@@ -100,7 +100,7 @@ class Chef
tm_config = Chef::Config.target_mode
protocol = tm_config.protocol
train_config = tm_config.to_hash.select { |k| Train.options(protocol).key?(k) }
- Chef::Log.trace("Using target mode options from Chef config file: #{train_config.keys.join(", ")}") if train_config
+ Chef::Log.trace("Using target mode options from #{Chef::Dist::PRODUCT} config file: #{train_config.keys.join(", ")}") if train_config
# Load the credentials file, and place any valid settings into the train configuration
credentials = load_credentials(tm_config.host)