diff options
author | Tim Smith <tsmith@chef.io> | 2018-04-16 14:27:47 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-05-30 15:18:24 -0700 |
commit | fda165d37b9a2b8ca4656bc7ed0bb14fb943c8dd (patch) | |
tree | b52ba7be6943f5d16956cc85f13f6efb9fb14d56 | |
parent | cfe5f41abf75597ca11a63df2507618660859582 (diff) | |
download | chef-fda165d37b9a2b8ca4656bc7ed0bb14fb943c8dd.tar.gz |
Remove the cookbook name part of the template
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/resource/ssh_known_hosts_entry.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/chef/resource/ssh_known_hosts_entry.rb b/lib/chef/resource/ssh_known_hosts_entry.rb index 5a016842e5..fee095e4fd 100644 --- a/lib/chef/resource/ssh_known_hosts_entry.rb +++ b/lib/chef/resource/ssh_known_hosts_entry.rb @@ -70,9 +70,6 @@ class Chef end end - # messing with the run_context appears to cause issues with the cookbook_name - r.cookbook_name = "ssh_known_hosts" - keys = r.variables[:entries].reject(&:empty?) if key_exists?(keys, key, comment) |