summaryrefslogtreecommitdiff
path: root/kitchen-tests
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-04-16 13:44:00 -0700
committerTim Smith <tsmith@chef.io>2018-06-11 11:22:08 -0700
commit787bde4cea59d8fefbaae9b0fe930fc2d9d8b710 (patch)
tree9de8e985c2a36054cb23289a318b8b4f14147459 /kitchen-tests
parent4c9fbad697420f0fcd67d5a9ee7202d406aa5a35 (diff)
downloadchef-787bde4cea59d8fefbaae9b0fe930fc2d9d8b710.tar.gz
Add ssh_known_hosts_entry from ssh_known_hosts cookbook
Port this from the 6.1 release of the cookbook Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'kitchen-tests')
-rw-r--r--kitchen-tests/cookbooks/base/recipes/default.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/kitchen-tests/cookbooks/base/recipes/default.rb b/kitchen-tests/cookbooks/base/recipes/default.rb
index ea0215ca96..9175bfbd26 100644
--- a/kitchen-tests/cookbooks/base/recipes/default.rb
+++ b/kitchen-tests/cookbooks/base/recipes/default.rb
@@ -38,6 +38,9 @@ users_manage "sysadmin" do
action [:create]
end
+ssh_known_hosts_entry "github.com"
+ssh_known_hosts_entry "travis.org"
+
sudo "sysadmins" do
group ["sysadmin", "%superadmin"]
nopasswd true