Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Git 在chef中被困为ssh已知主机_Git_Deployment_Ubuntu 12.04_Chef Infra_Knife - Fatal编程技术网

Git 在chef中被困为ssh已知主机

Git 在chef中被困为ssh已知主机,git,deployment,ubuntu-12.04,chef-infra,knife,Git,Deployment,Ubuntu 12.04,Chef Infra,Knife,我正在尝试使用chef cookbook将rails应用程序部署到测试服务器中。我能够将代码拉入测试服务器,但当我试图通过recipe进行捆绑包更新时,我只能更新私有存储库的捆绑包。捆绑包更新在以下位置停止 无法确定主机“github.com(192.30.252.129)”的真实性 包装文件包含 “exec ssh-o UserKnownHostsFile=/dev/null-o strichostkeychecking=no-i”/home/ubuntu/.ssh/id_rsa”“$@” 如

我正在尝试使用chef cookbook将rails应用程序部署到测试服务器中。我能够将代码拉入测试服务器,但当我试图通过recipe进行捆绑包更新时,我只能更新私有存储库的捆绑包。捆绑包更新在以下位置停止

无法确定主机“github.com(192.30.252.129)”的真实性

包装文件包含 “exec ssh-o UserKnownHostsFile=/dev/null-o strichostkeychecking=no-i”/home/ubuntu/.ssh/id_rsa”“$@”

如何克服这个问题。任何帮助都将不胜感激。

请使用本食谱:

ssh_known_host 'github.com'
当我把这个和vagrant一起使用时,我得到了一个“配方编译错误”。有什么想法吗?