diff options
author | Thomas Heinen <theinen@tecracer.de> | 2021-10-12 22:55:07 +0200 |
---|---|---|
committer | Thomas Heinen <theinen@tecracer.de> | 2021-10-12 22:55:07 +0200 |
commit | 4aad39c3c41f5a0a4459fc43c376dc33f00446d6 (patch) | |
tree | f70ee0af9d0966bb3a1cc7b0334f7299f182d4b7 /chef-config | |
parent | 013efca161665aa25bcdbd2a1ba813de3bf1b5d4 (diff) | |
download | chef-4aad39c3c41f5a0a4459fc43c376dc33f00446d6.tar.gz |
Change to setting name to transport_protocol
Signed-off-by: Thomas Heinen <theinen@tecracer.de>
Diffstat (limited to 'chef-config')
-rw-r--r-- | chef-config/lib/chef-config/mixin/train_transport.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-config/lib/chef-config/mixin/train_transport.rb b/chef-config/lib/chef-config/mixin/train_transport.rb index 99d773dace..3bd56650b2 100644 --- a/chef-config/lib/chef-config/mixin/train_transport.rb +++ b/chef-config/lib/chef-config/mixin/train_transport.rb @@ -112,7 +112,7 @@ module ChefConfig # Load the credentials file, and place any valid settings into the train configuration credentials = load_credentials(tm_config.host) - protocol = credentials[:train_protocol] || tm_config.protocol + protocol = credentials[:transport_protocol] || tm_config.protocol train_config = tm_config.to_hash.select { |k| Train.options(protocol).key?(k) } logger.trace("Using target mode options from #{ChefUtils::Dist::Infra::PRODUCT} config file: #{train_config.keys.join(", ")}") if train_config |