diff options
author | Tim Smith <tsmith@chef.io> | 2018-06-11 12:21:47 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-06-11 12:21:47 -0700 |
commit | b28ed8677ab78ed5aae2181666b7a948c1361b8b (patch) | |
tree | 23c3ffd1a83f835f62c03870cc873b6ead157ef7 | |
parent | ed5bee8a01126054b1fbee91ef39740e0832d55b (diff) | |
download | chef-b28ed8677ab78ed5aae2181666b7a948c1361b8b.tar.gz |
Make sure preview_resource is up top
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/resource/ssh_known_hosts_entry.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/resource/ssh_known_hosts_entry.rb b/lib/chef/resource/ssh_known_hosts_entry.rb index 2406377863..07e35587b7 100644 --- a/lib/chef/resource/ssh_known_hosts_entry.rb +++ b/lib/chef/resource/ssh_known_hosts_entry.rb @@ -22,12 +22,11 @@ require "chef/resource" class Chef class Resource class SshKnownHostsEntry < Chef::Resource + preview_resource true resource_name :ssh_known_hosts_entry - provides(:ssh_known_hosts_entry) { true } description "Use the ssh_known_hosts_entry resource to append an entry for the specified host in /etc/ssh/ssh_known_hosts or a user's known hosts file if specified." introduced "14.3" - preview_resource true property :host, String, description: "The host to add to the known hosts file.", |