I am trying to deploy rails app into test server with chef cookbook. I am able to pull the code into test server, but when I am trying to do bundle update through recipe, I am stuck at updating bundles of private repositories. bundle update stops at following.
The authenticity of host 'github.com (192.30.252.129)' can't be established
wrapper file contains " exec ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i "/home/ubuntu/.ssh/id_rsa" "$@" "
How to overcome this problem. Any help would be appreciated.
Use the ssh_known_hosts cookbook:
ssh_known_host 'github.com'