diff options
-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 |