diff options
author | Tim Smith <tsmith@chef.io> | 2019-01-17 11:50:19 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-17 11:50:19 -0800 |
commit | 497305b7daf3f36653307157b26e2b486ca5e8d4 (patch) | |
tree | 10c393cbb06447eb0e046ba46b296fa462cb7e62 | |
parent | ec17a6622b04f931129a605f544d5e041415d916 (diff) | |
parent | 0646d27d97d45a347fd5de89cc3cb1841fa45296 (diff) | |
download | chef-497305b7daf3f36653307157b26e2b486ca5e8d4.tar.gz |
Merge pull request #8124 from chef/host_entry
ssh_known_host_entry: Use the host name_property in debug logging
-rw-r--r-- | lib/chef/resource/ssh_known_hosts_entry.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/ssh_known_hosts_entry.rb b/lib/chef/resource/ssh_known_hosts_entry.rb index 167ac959e8..c986e1127d 100644 --- a/lib/chef/resource/ssh_known_hosts_entry.rb +++ b/lib/chef/resource/ssh_known_hosts_entry.rb @@ -103,7 +103,7 @@ class Chef keys = r.variables[:entries].reject(&:empty?) if key_exists?(keys, key, comment) - Chef::Log.debug "Known hosts key for #{new_resource.name} already exists - skipping" + Chef::Log.debug "Known hosts key for #{new_resource.host} already exists - skipping" else r.variables[:entries].push(key) end |